#C8B807

Closest named color: Olive Yellow (#C2B709). oklch(77.2% 0.161 103.2), rgb(200, 184, 7).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.31:1
White text2.03:1

Values

HEX#C8B807
RGBrgb(200, 184, 7)
HSLhsl(55, 93%, 41%)
OKLCHoklch(77.2% 0.161 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 #C8B807 2.03:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #C8B807 10.31:1 AAA Lc 64.5 Content text, not long reading
#C8B807 text on white 2.03:1 Fails Lc 39.4 Non-text elements, placeholder text
#C8B807 text on black 10.31:1 AAA Lc -62.9 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

    #EFECC8

    oklch(93.6% 0.047 103.3)

  3. Step 200

    200

    #E3DC96

    oklch(88.4% 0.09 103.2)

  4. Step 300

    300 (this color)

    #C8B807

    oklch(77.2% 0.161 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

    #6C6200

    oklch(49% 0.103 102.5)

  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

#C8B807 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)#CFB9220.014
Tritanopia (no blue cones)#D8AA9C0.147
Achromatopsia (no color)#B6B6B60.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #C8B807

    #C8B807

    oklch(77.2% 0.161 103.2)

  • #AAAAFF

    #AAAAFF

    oklch(77.1% 0.121 283.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C8B807

    #C8B807

    oklch(77.2% 0.161 103.2)

  • #F2A211

    #F2A211

    oklch(77.2% 0.162 73.1)

  • #8BCA57

    #8BCA57

    oklch(77.2% 0.161 133)

Open the analogous palette in the generator

Split complementary

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

  • #C8B807

    #C8B807

    oklch(77.2% 0.161 103.2)

  • #7DB9FF

    #7DB9FF

    oklch(77.3% 0.119 253.1)

  • #D994FD

    #D994FD

    oklch(77.3% 0.161 313.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C8B807

    #C8B807

    oklch(77.2% 0.161 103.2)

  • #00C8F7

    #00C8F7

    oklch(77.3% 0.144 222.8)

  • #FA88CF

    #FA88CF

    oklch(77.2% 0.161 343.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C8B807

    #C8B807

    oklch(77.2% 0.161 103.2)

  • #00CFCC

    #00CFCC

    oklch(77.3% 0.132 192.9)

  • #AAAAFF

    #AAAAFF

    oklch(77.1% 0.121 283.2)

  • #FF8E9C

    #FF8E9C

    oklch(77.2% 0.137 12.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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