#C2BA08

Closest named color: Olive Yellow (#C2B709). oklch(77.1% 0.164 106.5), rgb(194, 186, 8).

Aa

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

About this color

#C2BA08 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.164 and its hue 107°. 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.32:1.

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

Values

HEX#C2BA08
RGBrgb(194, 186, 8)
HSLhsl(57, 92%, 40%)
OKLCHoklch(77.1% 0.164 106.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 #C2BA08 2.03:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #C2BA08 10.32:1 AAA Lc 64.5 Content text, not long reading
#C2BA08 text on white 2.03:1 Fails Lc 39.4 Non-text elements, placeholder text
#C2BA08 text on black 10.32:1 AAA Lc -63.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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EDEDC9

    oklch(93.7% 0.047 107.3)

  3. Step 200

    200

    #E0DE97

    oklch(88.6% 0.091 106.7)

  4. Step 300

    300 (this color)

    #C2BA08

    oklch(77.1% 0.164 106.5)

  5. Step 400

    400

    #ADA600

    oklch(70.8% 0.152 106.7)

  6. Step 500

    500

    #948E00

    oklch(63.1% 0.135 106.7)

  7. Step 600

    600

    #7C7700

    oklch(55.6% 0.119 106.8)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #555200

    oklch(42.8% 0.092 107.3)

  10. Step 900

    900

    #474400

    oklch(37.7% 0.081 106.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#C2BA08 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)#CBB3000.021
Deuteranopia (no green cones)#CEB8230.022
Tritanopia (no blue cones)#D1AC9E0.150
Achromatopsia (no color)#B6B6B60.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2BA08

    #C2BA08

    oklch(77.1% 0.164 106.5)

  • #AFA8FF

    #AFA8FF

    oklch(77.1% 0.123 286.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2BA08

    #C2BA08

    oklch(77.1% 0.164 106.5)

  • #EEA400

    #EEA400

    oklch(77.1% 0.162 76.4)

  • #81CC5D

    #81CC5D

    oklch(77.2% 0.164 136.6)

Open the analogous palette in the generator

Split complementary

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

  • #C2BA08

    #C2BA08

    oklch(77.1% 0.164 106.5)

  • #82B7FF

    #82B7FF

    oklch(77.1% 0.118 256.3)

  • #DD91F9

    #DD91F9

    oklch(77% 0.163 316.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2BA08

    #C2BA08

    oklch(77.1% 0.164 106.5)

  • #00C6FC

    #00C6FC

    oklch(77% 0.148 226.4)

  • #FD86C9

    #FD86C9

    oklch(77.1% 0.163 346.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2BA08

    #C2BA08

    oklch(77.1% 0.164 106.5)

  • #00CED0

    #00CED0

    oklch(77.2% 0.131 196)

  • #AFA8FF

    #AFA8FF

    oklch(77.1% 0.123 286.8)

  • #FF8E96

    #FF8E96

    oklch(77% 0.137 16.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C2BA08.

Similar named colors

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

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