#C2B904

Closest named color: Olive Yellow (#C2B709). oklch(76.9% 0.163 106.1), rgb(194, 185, 4).

Aa

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

About this color

#C2B904 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.163 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.006 away. Black text reads best on it, at 10.23:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.23:1
White text2.05:1

Values

HEX#C2B904
RGBrgb(194, 185, 4)
HSLhsl(57, 96%, 39%)
OKLCHoklch(76.9% 0.163 106.1)

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 #C2B904 2.05:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #C2B904 10.23:1 AAA Lc 64.2 Content text, not long reading
#C2B904 text on white 2.05:1 Fails Lc 39.8 Non-text elements, placeholder text
#C2B904 text on black 10.23:1 AAA Lc -62.5 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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EDECC8

    oklch(93.5% 0.047 106)

  3. Step 200

    200

    #E0DD97

    oklch(88.4% 0.09 106)

  4. Step 300

    300 (this color)

    #C2B904

    oklch(76.9% 0.163 106.1)

  5. Step 400

    400

    #ADA500

    oklch(70.6% 0.151 106.2)

  6. Step 500

    500

    #958E00

    oklch(63.2% 0.135 106.2)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  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

#C2B904 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)#CAB2000.021
Deuteranopia (no green cones)#CEB8220.021
Tritanopia (no blue cones)#D1AB9D0.149
Achromatopsia (no color)#B5B5B50.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2B904

    #C2B904

    oklch(76.9% 0.163 106.1)

  • #ADA7FF

    #ADA7FF

    oklch(76.7% 0.125 286.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2B904

    #C2B904

    oklch(76.9% 0.163 106.1)

  • #EDA300

    #EDA300

    oklch(76.8% 0.161 76.2)

  • #81CB5B

    #81CB5B

    oklch(76.9% 0.164 136.2)

Open the analogous palette in the generator

Split complementary

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

  • #C2B904

    #C2B904

    oklch(76.9% 0.163 106.1)

  • #80B6FF

    #80B6FF

    oklch(76.8% 0.12 256.2)

  • #DC91F9

    #DC91F9

    oklch(76.9% 0.163 316.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2B904

    #C2B904

    oklch(76.9% 0.163 106.1)

  • #00C6FB

    #00C6FB

    oklch(77% 0.147 225.9)

  • #FC85C9

    #FC85C9

    oklch(76.8% 0.163 346.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2B904

    #C2B904

    oklch(76.9% 0.163 106.1)

  • #00CDCF

    #00CDCF

    oklch(76.9% 0.131 196)

  • #ADA7FF

    #ADA7FF

    oklch(76.7% 0.125 286.2)

  • #FF8D95

    #FF8D95

    oklch(76.9% 0.138 16.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C2B904.

Similar named colors

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

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