#C0A040

Closest named color: Ocre (#C69C04). oklch(71.7% 0.119 90.5), rgb(192, 160, 64).

Aa

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

About this color

#C0A040 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.119 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Ocre (#C69C04), ΔE 0.026 away. Black text reads best on it, at 8.34:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameOcre (#C69C04)
Black text8.34:1
White text2.51:1

Values

HEX#C0A040
RGBrgb(192, 160, 64)
HSLhsl(45, 50%, 50%)
OKLCHoklch(71.7% 0.119 90.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 #C0A040 2.51:1 Fails Lc -54.3 Large or bold text, headings
Black text on #C0A040 8.34:1 AAA Lc 54.7 Large or bold text, headings
#C0A040 text on white 2.51:1 Fails Lc 49.3 Large or bold text, headings
#C0A040 text on black 8.34:1 AAA Lc -52.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F8F5EE

    oklch(97.1% 0.01 87.5)

  2. Step 100

    100

    #EFEADA

    oklch(93.7% 0.022 92.5)

  3. Step 200

    200

    #E3D9BB

    oklch(88.6% 0.041 91.7)

  4. Step 300

    300

    #D3BF89

    oklch(80.9% 0.074 90.1)

  5. Step 400

    400 (this color)

    #C0A040

    oklch(71.7% 0.119 90.5)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#C0A040 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)#B19E350.027
Deuteranopia (no green cones)#B9A7440.020
Tritanopia (no blue cones)#CF938C0.110
Achromatopsia (no color)#A3A3A30.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0A040

    #C0A040

    oklch(71.7% 0.119 90.5)

  • #879FEE

    #879FEE

    oklch(71.6% 0.119 270.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0A040

    #C0A040

    oklch(71.7% 0.119 90.5)

  • #DA9150

    #DA9150

    oklch(71.8% 0.12 60.7)

  • #99AF54

    #99AF54

    oklch(71.7% 0.12 120.8)

Open the analogous palette in the generator

Split complementary

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

  • #C0A040

    #C0A040

    oklch(71.7% 0.119 90.5)

  • #55ADE7

    #55ADE7

    oklch(71.7% 0.12 240.2)

  • #B092E3

    #B092E3

    oklch(71.8% 0.119 300.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0A040

    #C0A040

    oklch(71.7% 0.119 90.5)

  • #1EB7CD

    #1EB7CD

    oklch(71.6% 0.119 210.5)

  • #CE87C6

    #CE87C6

    oklch(71.6% 0.119 330.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0A040

    #C0A040

    oklch(71.7% 0.119 90.5)

  • #2EBCA7

    #2EBCA7

    oklch(71.8% 0.12 180.2)

  • #879FEE

    #879FEE

    oklch(71.6% 0.119 270.3)

  • #E082A0

    #E082A0

    oklch(71.6% 0.12 0.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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