#C7B80E

Closest named color: Olive Yellow (#C2B709). oklch(77.1% 0.16 103.5), rgb(199, 184, 14).

Aa

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

About this color

#C7B80E is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.160 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.008 away. Black text reads best on it, at 10.29:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.29:1
White text2.04:1

Values

HEX#C7B80E
RGBrgb(199, 184, 14)
HSLhsl(55, 87%, 42%)
OKLCHoklch(77.1% 0.16 103.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 #C7B80E 2.04:1 Fails Lc -44.0 Non-text elements, placeholder text
Black text on #C7B80E 10.29:1 AAA Lc 64.4 Content text, not long reading
#C7B80E text on white 2.04:1 Fails Lc 39.5 Non-text elements, placeholder text
#C7B80E text on black 10.29:1 AAA Lc -62.8 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

    #F8F6E6

    oklch(97% 0.021 101)

  2. Step 100

    100

    #EFECC9

    oklch(93.6% 0.046 103.2)

  3. Step 200

    200

    #E3DC97

    oklch(88.4% 0.089 103.1)

  4. Step 300

    300 (this color)

    #C7B80E

    oklch(77.1% 0.16 103.5)

  5. Step 400

    400

    #B1A400

    oklch(70.7% 0.149 103.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#C7B80E 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)#CAB2000.015
Deuteranopia (no green cones)#CFB9250.015
Tritanopia (no blue cones)#D7AA9D0.148
Achromatopsia (no color)#B5B5B50.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7B80E

    #C7B80E

    oklch(77.1% 0.16 103.5)

  • #AAAAFF

    #AAAAFF

    oklch(77.1% 0.121 283.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7B80E

    #C7B80E

    oklch(77.1% 0.16 103.5)

  • #F1A214

    #F1A214

    oklch(77.1% 0.16 73.3)

  • #8ACA59

    #8ACA59

    oklch(77.1% 0.16 133.5)

Open the analogous palette in the generator

Split complementary

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

  • #C7B80E

    #C7B80E

    oklch(77.1% 0.16 103.5)

  • #7DB8FF

    #7DB8FF

    oklch(77.1% 0.12 253.7)

  • #D993FC

    #D993FC

    oklch(77.1% 0.161 313.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7B80E

    #C7B80E

    oklch(77.1% 0.16 103.5)

  • #00C7F8

    #00C7F8

    oklch(77.1% 0.145 223.9)

  • #FA88CE

    #FA88CE

    oklch(77.2% 0.16 343.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7B80E

    #C7B80E

    oklch(77.1% 0.16 103.5)

  • #00CECC

    #00CECC

    oklch(77% 0.132 193.5)

  • #AAAAFF

    #AAAAFF

    oklch(77.1% 0.121 283.2)

  • #FF8E9B

    #FF8E9B

    oklch(77.2% 0.137 13.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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