#C5C166

Closest named color: Greenish Tan (#BCCB7A). oklch(79.5% 0.114 106.5), rgb(197, 193, 102).

Aa

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

About this color

#C5C166 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.114 and its hue 106°. 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 11.19:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.114)
Temperaturewarm
Nearest nameGreenish Tan (#BCCB7A)
Black text11.19:1
White text1.87:1

Values

HEX#C5C166
RGBrgb(197, 193, 102)
HSLhsl(57, 45%, 59%)
OKLCHoklch(79.5% 0.114 106.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 #C5C166 1.87:1 Fails Lc -39.7 Non-text elements, placeholder text
Black text on #C5C166 11.19:1 AAA Lc 68.4 Content text, not long reading
#C5C166 text on white 1.87:1 Fails Lc 35.5 Non-text elements, placeholder text
#C5C166 text on black 11.19:1 AAA Lc -67.0 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

    #F6F6EB

    oklch(97% 0.015 106.7)

  2. Step 100

    100

    #ECECD3

    oklch(93.6% 0.033 107)

  3. Step 200

    200

    #DEDDAC

    oklch(88.6% 0.064 106.7)

  4. Step 300

    300 (this color)

    #C5C166

    oklch(79.5% 0.114 106.5)

  5. Step 400

    400

    #ADA600

    oklch(70.8% 0.152 106.7)

  6. Step 500

    500

    #948E00

    oklch(63.1% 0.135 106.7)

  7. Step 600

    600

    #7C7700

    oklch(55.6% 0.119 106.8)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #565200

    oklch(42.9% 0.092 106.4)

  10. Step 900

    900

    #474400

    oklch(37.7% 0.081 106.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#C5C166 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)#CEBB5E0.018
Deuteranopia (no green cones)#D0BF6A0.018
Tritanopia (no blue cones)#D1B7AC0.103
Achromatopsia (no color)#BDBDBD0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5C166

    #C5C166

    oklch(79.5% 0.114 106.5)

  • #B6B2FF

    #B6B2FF

    oklch(79.5% 0.108 286)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5C166

    #C5C166

    oklch(79.5% 0.114 106.5)

  • #E6B263

    #E6B263

    oklch(79.5% 0.114 76.3)

  • #9ACD83

    #9ACD83

    oklch(79.4% 0.114 136.3)

Open the analogous palette in the generator

Split complementary

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

  • #C5C166

    #C5C166

    oklch(79.5% 0.114 106.5)

  • #90BFFF

    #90BFFF

    oklch(79.6% 0.104 256.3)

  • #D9A5ED

    #D9A5ED

    oklch(79.4% 0.114 316.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5C166

    #C5C166

    oklch(79.5% 0.114 106.5)

  • #60CBF4

    #60CBF4

    oklch(79.5% 0.114 226.1)

  • #F29ECB

    #F29ECB

    oklch(79.6% 0.114 346.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5C166

    #C5C166

    oklch(79.5% 0.114 106.5)

  • #4ED3D5

    #4ED3D5

    oklch(79.6% 0.114 196.5)

  • #B6B2FF

    #B6B2FF

    oklch(79.5% 0.108 286)

  • #FD9DA2

    #FD9DA2

    oklch(79.5% 0.115 16.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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