#C8CB7A

Closest named color: Greenish Tan (#BCCB7A). oklch(82.2% 0.104 110.3), rgb(200, 203, 122).

Aa

Black text reads best on this color (12.27:1).

About this color

#C8CB7A is a light, moderately saturated yellow. In OKLCH its lightness is 82%, its chroma 0.104 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Tan (#BCCB7A), ΔE 0.016 away. Black text reads best on it, at 12.27:1.

Hue familyYellows
Lightnesslight (82%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameGreenish Tan (#BCCB7A)
Black text12.27:1
White text1.71:1

Values

HEX#C8CB7A
RGBrgb(200, 203, 122)
HSLhsl(62, 44%, 64%)
OKLCHoklch(82.2% 0.104 110.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #C8CB7A 1.71:1 Fails Lc -34.5 Non-text elements, placeholder text
Black text on #C8CB7A 12.27:1 AAA Lc 73.2 Content text, not long reading
#C8CB7A text on white 1.71:1 Fails Lc 30.7 Non-text elements, placeholder text
#C8CB7A text on black 12.27:1 AAA Lc -72.1 Content text, not long reading

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #F6F6EC

    oklch(97% 0.013 106.6)

  2. Step 100

    100

    #EAECD5

    oklch(93.5% 0.03 111)

  3. Step 200

    200

    #DBDDB2

    oklch(88.5% 0.057 109.7)

  4. Step 300

    300 (this color)

    #C8CB7A

    oklch(82.2% 0.104 110.3)

  5. Step 400

    400

    #A7A800

    oklch(70.7% 0.155 110.2)

  6. Step 500

    500

    #8F9000

    oklch(63.2% 0.138 110.3)

  7. Step 600

    600

    #787900

    oklch(55.7% 0.122 110.4)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #525300

    oklch(42.7% 0.094 110.6)

  10. Step 900

    900

    #444500

    oklch(37.7% 0.083 110.7)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#C8CB7A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#D7C4740.025
Deuteranopia (no green cones)#D7C77E0.025
Tritanopia (no blue cones)#D2C2B70.092
Achromatopsia (no color)#C6C6C60.104

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #C8CB7A

    #C8CB7A

    oklch(82.2% 0.104 110.3)

  • #C4BAFF

    #C4BAFF

    oklch(82.1% 0.096 290.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8CB7A

    #C8CB7A

    oklch(82.2% 0.104 110.3)

  • #E8BE74

    #E8BE74

    oklch(82.3% 0.104 80.7)

  • #A0D695

    #A0D695

    oklch(82.2% 0.105 140.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #C8CB7A

    #C8CB7A

    oklch(82.2% 0.104 110.3)

  • #A3C6FF

    #A3C6FF

    oklch(82.2% 0.089 260)

  • #E3AFEE

    #E3AFEE

    oklch(82.2% 0.103 320.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8CB7A

    #C8CB7A

    oklch(82.2% 0.104 110.3)

  • #79D1FB

    #79D1FB

    oklch(82.1% 0.103 230.5)

  • #F8A9CE

    #F8A9CE

    oklch(82.2% 0.103 350)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8CB7A

    #C8CB7A

    oklch(82.2% 0.104 110.3)

  • #67D9DF

    #67D9DF

    oklch(82.2% 0.104 200)

  • #C4BAFF

    #C4BAFF

    oklch(82.1% 0.096 290.8)

  • #FFABA9

    #FFABA9

    oklch(82.2% 0.099 20.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C8CB7A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #C8CB7A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.