#C2A231

Closest named color: Ocre (#C69C04). oklch(72.1% 0.131 92.5), rgb(194, 162, 49).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameOcre (#C69C04)
Black text8.50:1
White text2.46:1

Values

HEX#C2A231
RGBrgb(194, 162, 49)
HSLhsl(47, 60%, 48%)
OKLCHoklch(72.1% 0.131 92.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 #C2A231 2.46:1 Fails Lc -53.4 Large or bold text, headings
Black text on #C2A231 8.50:1 AAA Lc 55.6 Large or bold text, headings
#C2A231 text on white 2.46:1 Fails Lc 48.4 Large or bold text, headings
#C2A231 text on black 8.50:1 AAA Lc -53.6 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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #EFEAD8

    oklch(93.6% 0.024 94.1)

  3. Step 200

    200

    #E3D9B8

    oklch(88.5% 0.045 93.1)

  4. Step 300

    300

    #D3C083

    oklch(81% 0.082 92.8)

  5. Step 400

    400 (this color)

    #C2A231

    oklch(72.1% 0.131 92.5)

  6. Step 500

    500

    #A58600

    oklch(63.1% 0.129 92.4)

  7. Step 600

    600

    #8B7000

    oklch(55.5% 0.114 92)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#C2A231 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)#B49F1E0.027
Deuteranopia (no green cones)#BCA9380.019
Tritanopia (no blue cones)#D2958C0.120
Achromatopsia (no color)#A5A5A50.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2A231

    #C2A231

    oklch(72.1% 0.131 92.5)

  • #899FF7

    #899FF7

    oklch(72.2% 0.131 272.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2A231

    #C2A231

    oklch(72.1% 0.131 92.5)

  • #DF9144

    #DF9144

    oklch(72.2% 0.132 62.5)

  • #97B24E

    #97B24E

    oklch(72.2% 0.131 122.3)

Open the analogous palette in the generator

Split complementary

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

  • #C2A231

    #C2A231

    oklch(72.1% 0.131 92.5)

  • #50AEF0

    #50AEF0

    oklch(72.2% 0.131 242.3)

  • #B590E9

    #B590E9

    oklch(72.2% 0.131 302.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2A231

    #C2A231

    oklch(72.1% 0.131 92.5)

  • #00B9D3

    #00B9D3

    oklch(72.1% 0.126 212.3)

  • #D585C9

    #D585C9

    oklch(72.2% 0.131 332.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2A231

    #C2A231

    oklch(72.1% 0.131 92.5)

  • #00BFAC

    #00BFAC

    oklch(72.2% 0.129 182.5)

  • #899FF7

    #899FF7

    oklch(72.2% 0.131 272.1)

  • #E8809E

    #E8809E

    oklch(72.2% 0.131 2.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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