#C2BF34

Closest named color: Olive Yellow (#C2B709). oklch(78.3% 0.153 108.2), rgb(194, 191, 52).

Aa

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

About this color

#C2BF34 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.153 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.022 away. Black text reads best on it, at 10.79:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.79:1
White text1.94:1

Values

HEX#C2BF34
RGBrgb(194, 191, 52)
HSLhsl(59, 58%, 48%)
OKLCHoklch(78.3% 0.153 108.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 #C2BF34 1.94:1 Fails Lc -41.6 Non-text elements, placeholder text
Black text on #C2BF34 10.79:1 AAA Lc 66.7 Content text, not long reading
#C2BF34 text on white 1.94:1 Fails Lc 37.2 Non-text elements, placeholder text
#C2BF34 text on black 10.79:1 AAA Lc -65.2 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

    #F6F7E7

    oklch(97.1% 0.021 109.7)

  2. Step 100

    100

    #ECEDCB

    oklch(93.7% 0.045 108.6)

  3. Step 200

    200

    #DEDE9C

    oklch(88.5% 0.085 108)

  4. Step 300

    300 (this color)

    #C2BF34

    oklch(78.3% 0.153 108.2)

  5. Step 400

    400

    #AAA700

    oklch(70.8% 0.153 108.5)

  6. Step 500

    500

    #928F00

    oklch(63.2% 0.136 108.3)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#C2BF34 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)#CFB7180.025
Deuteranopia (no green cones)#D1BC3F0.026
Tritanopia (no blue cones)#D0B2A40.138
Achromatopsia (no color)#BABABA0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2BF34

    #C2BF34

    oklch(78.3% 0.153 108.2)

  • #B5ACFF

    #B5ACFF

    oklch(78.3% 0.117 288.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2BF34

    #C2BF34

    oklch(78.3% 0.153 108.2)

  • #EDAA29

    #EDAA29

    oklch(78.2% 0.153 78)

  • #85CF6B

    #85CF6B

    oklch(78.3% 0.153 138.1)

Open the analogous palette in the generator

Split complementary

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

  • #C2BF34

    #C2BF34

    oklch(78.3% 0.153 108.2)

  • #8CBAFF

    #8CBAFF

    oklch(78.3% 0.111 258.3)

  • #E197F7

    #E197F7

    oklch(78.3% 0.153 318.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2BF34

    #C2BF34

    oklch(78.3% 0.153 108.2)

  • #34C9FF

    #34C9FF

    oklch(78.4% 0.141 228.1)

  • #FF8DC9

    #FF8DC9

    oklch(78.4% 0.153 348.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2BF34

    #C2BF34

    oklch(78.3% 0.153 108.2)

  • #00D2D7

    #00D2D7

    oklch(78.4% 0.133 197.8)

  • #B5ACFF

    #B5ACFF

    oklch(78.3% 0.117 288.4)

  • #FF9699

    #FF9699

    oklch(78.4% 0.126 18.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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