#C0B54E

Closest named color: Dark Khaki (#BDB76B). oklch(76.2% 0.125 103.2), rgb(192, 181, 78).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.96:1
White text2.10:1

Values

HEX#C0B54E
RGBrgb(192, 181, 78)
HSLhsl(54, 48%, 53%)
OKLCHoklch(76.2% 0.125 103.2)

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 #C0B54E 2.10:1 Fails Lc -45.8 Large or bold text, headings
Black text on #C0B54E 9.96:1 AAA Lc 62.7 Content text, not long reading
#C0B54E text on white 2.10:1 Fails Lc 41.2 Non-text elements, placeholder text
#C0B54E text on black 9.96:1 AAA Lc -61.0 Content text, not long reading

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

  1. Step 50

    50

    #F7F6EA

    oklch(97.1% 0.016 102.8)

  2. Step 100

    100

    #EEEBD0

    oklch(93.5% 0.036 101.9)

  3. Step 200

    200

    #E1DCA7

    oklch(88.6% 0.069 103.2)

  4. Step 300

    300 (this color)

    #C0B54E

    oklch(76.2% 0.125 103.2)

  5. Step 400

    400

    #B2A300

    oklch(70.6% 0.148 102.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6300

    oklch(49.3% 0.104 103.3)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#C0B54E 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)#C4AF430.016
Deuteranopia (no green cones)#C7B5530.012
Tritanopia (no blue cones)#CDAA9F0.113
Achromatopsia (no color)#B3B3B30.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0B54E

    #C0B54E

    oklch(76.2% 0.125 103.2)

  • #A7A7FE

    #A7A7FE

    oklch(76.2% 0.124 283.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0B54E

    #C0B54E

    oklch(76.2% 0.125 103.2)

  • #E1A54F

    #E1A54F

    oklch(76.3% 0.124 73.7)

  • #92C36E

    #92C36E

    oklch(76.3% 0.125 133.1)

Open the analogous palette in the generator

Split complementary

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

  • #C0B54E

    #C0B54E

    oklch(76.2% 0.125 103.2)

  • #77B6FF

    #77B6FF

    oklch(76.3% 0.124 253)

  • #CE9AEA

    #CE9AEA

    oklch(76.3% 0.124 313.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0B54E

    #C0B54E

    oklch(76.2% 0.125 103.2)

  • #3FC2EB

    #3FC2EB

    oklch(76.1% 0.125 223.3)

  • #E991C6

    #E991C6

    oklch(76.3% 0.124 343.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0B54E

    #C0B54E

    oklch(76.2% 0.125 103.2)

  • #25CAC8

    #25CAC8

    oklch(76.2% 0.125 193.5)

  • #A7A7FE

    #A7A7FE

    oklch(76.2% 0.124 283.1)

  • #F68F9B

    #F68F9B

    oklch(76.2% 0.125 13)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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