#C0B151

Closest named color: Dark Khaki (#BDB76B). oklch(75.4% 0.118 100.5), rgb(192, 177, 81).

Aa

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

About this color

#C0B151 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.118 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.025 away. Black text reads best on it, at 9.64:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.64:1
White text2.17:1

Values

HEX#C0B151
RGBrgb(192, 177, 81)
HSLhsl(52, 47%, 54%)
OKLCHoklch(75.4% 0.118 100.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 #C0B151 2.17:1 Fails Lc -47.4 Large or bold text, headings
Black text on #C0B151 9.64:1 AAA Lc 61.2 Content text, not long reading
#C0B151 text on white 2.17:1 Fails Lc 42.7 Non-text elements, placeholder text
#C0B151 text on black 9.64:1 AAA Lc -59.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

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EDEBDB

    oklch(93.7% 0.021 101)

  3. Step 200

    200

    #DFDABC

    oklch(88.4% 0.04 99.4)

  4. Step 300

    300

    #CBC28B

    oklch(80.8% 0.073 100)

  5. Step 400

    400 (this color)

    #C0B151

    oklch(75.4% 0.118 100.5)

  6. Step 500

    500

    #9C8A00

    oklch(63% 0.131 100.1)

  7. Step 600

    600

    #837400

    oklch(55.6% 0.116 100.3)

  8. Step 700

    700

    #6E6100

    oklch(49% 0.102 100.2)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#C0B151 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)#C0AC470.013
Deuteranopia (no green cones)#C4B2560.008
Tritanopia (no blue cones)#CDA69C0.108
Achromatopsia (no color)#B0B0B00.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0B151

    #C0B151

    oklch(75.4% 0.118 100.5)

  • #A1A6F9

    #A1A6F9

    oklch(75.4% 0.119 280.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0B151

    #C0B151

    oklch(75.4% 0.118 100.5)

  • #DFA155

    #DFA155

    oklch(75.4% 0.118 69.9)

  • #95BE6D

    #95BE6D

    oklch(75.3% 0.117 130.7)

Open the analogous palette in the generator

Split complementary

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

  • #C0B151

    #C0B151

    oklch(75.4% 0.118 100.5)

  • #73B4F7

    #73B4F7

    oklch(75.3% 0.118 250.3)

  • #C799E7

    #C799E7

    oklch(75.4% 0.119 310.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0B151

    #C0B151

    oklch(75.4% 0.118 100.5)

  • #43C0E3

    #43C0E3

    oklch(75.4% 0.118 220.4)

  • #E291C6

    #E291C6

    oklch(75.5% 0.118 340.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0B151

    #C0B151

    oklch(75.4% 0.118 100.5)

  • #36C7C0

    #36C7C0

    oklch(75.4% 0.118 190.1)

  • #A1A6F9

    #A1A6F9

    oklch(75.4% 0.119 280.5)

  • #EF8F9D

    #EF8F9D

    oklch(75.4% 0.117 10.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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