#C1A231

Closest named color: Ocre (#C69C04). oklch(72% 0.131 93), rgb(193, 162, 49).

Aa

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

About this color

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

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

Values

HEX#C1A231
RGBrgb(193, 162, 49)
HSLhsl(47, 60%, 47%)
OKLCHoklch(72% 0.131 93)

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 #C1A231 2.47:1 Fails Lc -53.6 Large or bold text, headings
Black text on #C1A231 8.47:1 AAA Lc 55.5 Large or bold text, headings
#C1A231 text on white 2.47:1 Fails Lc 48.5 Large or bold text, headings
#C1A231 text on black 8.47:1 AAA Lc -53.5 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

    #EFEAD9

    oklch(93.6% 0.023 93.3)

  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)

    #C1A231

    oklch(72% 0.131 93)

  6. Step 500

    500

    #A48600

    oklch(63% 0.129 93)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  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

#C1A231 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.026
Deuteranopia (no green cones)#BBA8380.016
Tritanopia (no blue cones)#D1958C0.120
Achromatopsia (no color)#A5A5A50.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #C1A231

    #C1A231

    oklch(72% 0.131 93)

  • #8A9EF7

    #8A9EF7

    oklch(72.1% 0.132 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C1A231

    #C1A231

    oklch(72% 0.131 93)

  • #DE9143

    #DE9143

    oklch(72.1% 0.131 63.2)

  • #95B24E

    #95B24E

    oklch(72% 0.132 123.2)

Open the analogous palette in the generator

Split complementary

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

  • #C1A231

    #C1A231

    oklch(72% 0.131 93)

  • #51ADF0

    #51ADF0

    oklch(72% 0.131 243.2)

  • #B58FE8

    #B58FE8

    oklch(71.9% 0.132 302.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C1A231

    #C1A231

    oklch(72% 0.131 93)

  • #00B9D4

    #00B9D4

    oklch(72.2% 0.126 213)

  • #D584C8

    #D584C8

    oklch(72% 0.132 332.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C1A231

    #C1A231

    oklch(72% 0.131 93)

  • #00BEAC

    #00BEAC

    oklch(72% 0.128 183)

  • #8A9EF7

    #8A9EF7

    oklch(72.1% 0.132 273.1)

  • #E8809D

    #E8809D

    oklch(72.2% 0.131 3.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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