#CEC77F

Closest named color: Greenish Tan (#BCCB7A). oklch(81.9% 0.093 103.5), rgb(206, 199, 127).

Aa

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

About this color

#CEC77F is a light, moderately saturated yellow. In OKLCH its lightness is 82%, its chroma 0.093 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Tan (#BCCB7A), ΔE 0.028 away. Black text reads best on it, at 12.10:1.

Hue familyYellows
Lightnesslight (82%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameGreenish Tan (#BCCB7A)
Black text12.10:1
White text1.73:1

Values

HEX#CEC77F
RGBrgb(206, 199, 127)
HSLhsl(55, 45%, 65%)
OKLCHoklch(81.9% 0.093 103.5)

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 #CEC77F 1.73:1 Fails Lc -35.3 Non-text elements, placeholder text
Black text on #CEC77F 12.10:1 AAA Lc 72.4 Content text, not long reading
#CEC77F text on white 1.73:1 Fails Lc 31.5 Non-text elements, placeholder text
#CEC77F text on black 12.10:1 AAA Lc -71.3 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

    #F7F6ED

    oklch(97.1% 0.012 101.5)

  2. Step 100

    100

    #EDEBD7

    oklch(93.6% 0.027 102.2)

  3. Step 200

    200

    #DFDBB4

    oklch(88.5% 0.052 102.5)

  4. Step 300

    300 (this color)

    #CEC77F

    oklch(81.9% 0.093 103.5)

  5. Step 400

    400

    #B1A401

    oklch(70.7% 0.149 103.8)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#CEC77F 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)#D3C27A0.013
Deuteranopia (no green cones)#D6C6820.013
Tritanopia (no blue cones)#D9BEB50.084
Achromatopsia (no color)#C4C4C40.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #CEC77F

    #CEC77F

    oklch(81.9% 0.093 103.5)

  • #BBBCFF

    #BBBCFF

    oklch(81.8% 0.094 283.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CEC77F

    #CEC77F

    oklch(81.9% 0.093 103.5)

  • #E9BB7F

    #E9BB7F

    oklch(82% 0.093 73.3)

  • #ACD193

    #ACD193

    oklch(81.8% 0.093 133.2)

Open the analogous palette in the generator

Split complementary

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

  • #CEC77F

    #CEC77F

    oklch(81.9% 0.093 103.5)

  • #99C8FF

    #99C8FF

    oklch(82% 0.093 252.8)

  • #D9B2EF

    #D9B2EF

    oklch(81.8% 0.094 313.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CEC77F

    #CEC77F

    oklch(81.9% 0.093 103.5)

  • #7CD1F0

    #7CD1F0

    oklch(81.8% 0.093 223.6)

  • #EFACD3

    #EFACD3

    oklch(81.9% 0.093 343.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CEC77F

    #CEC77F

    oklch(81.9% 0.093 103.5)

  • #75D7D5

    #75D7D5

    oklch(81.9% 0.093 193.8)

  • #BBBCFF

    #BBBCFF

    oklch(81.8% 0.094 283.5)

  • #FAABB2

    #FAABB2

    oklch(81.9% 0.093 13.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #CEC77F 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.