#C2AB52

Closest named color: Desert (#CCAD60). oklch(74.3% 0.112 95), rgb(194, 171, 82).

Aa

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

About this color

#C2AB52 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.112 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.022 away. Black text reads best on it, at 9.24:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameDesert (#CCAD60)
Black text9.24:1
White text2.27:1

Values

HEX#C2AB52
RGBrgb(194, 171, 82)
HSLhsl(48, 48%, 54%)
OKLCHoklch(74.3% 0.112 95)

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 #C2AB52 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #C2AB52 9.24:1 AAA Lc 59.2 Large or bold text, headings
#C2AB52 text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#C2AB52 text on black 9.24:1 AAA Lc -57.4 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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EEEADB

    oklch(93.6% 0.02 94.5)

  3. Step 200

    200

    #E1D9BD

    oklch(88.4% 0.038 93.9)

  4. Step 300

    300

    #CFC18D

    oklch(81% 0.07 94.8)

  5. Step 400

    400 (this color)

    #C2AB52

    oklch(74.3% 0.112 95)

  6. Step 500

    500

    #A28700

    oklch(63% 0.129 94.8)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4F4100

    oklch(37.9% 0.078 95.1)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#C2AB52 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)#BAA8490.017
Deuteranopia (no green cones)#C0AF560.010
Tritanopia (no blue cones)#D0A0970.102
Achromatopsia (no color)#ACACAC0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2AB52

    #C2AB52

    oklch(74.3% 0.112 95)

  • #97A6F3

    #97A6F3

    oklch(74.4% 0.113 274.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2AB52

    #C2AB52

    oklch(74.3% 0.112 95)

  • #DD9C5B

    #DD9C5B

    oklch(74.3% 0.113 64.5)

  • #9CB867

    #9CB867

    oklch(74.3% 0.112 124.7)

Open the analogous palette in the generator

Split complementary

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

  • #C2AB52

    #C2AB52

    oklch(74.3% 0.112 95)

  • #6BB3EE

    #6BB3EE

    oklch(74.3% 0.112 244.9)

  • #BC99E5

    #BC99E5

    oklch(74.2% 0.113 304.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2AB52

    #C2AB52

    oklch(74.3% 0.112 95)

  • #42BED8

    #42BED8

    oklch(74.4% 0.113 214.6)

  • #D890C8

    #D890C8

    oklch(74.3% 0.113 335)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2AB52

    #C2AB52

    oklch(74.3% 0.112 95)

  • #42C3B5

    #42C3B5

    oklch(74.4% 0.113 184.8)

  • #97A6F3

    #97A6F3

    oklch(74.4% 0.113 274.9)

  • #E88DA2

    #E88DA2

    oklch(74.4% 0.113 5.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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