#C2B84F

Closest named color: Dark Khaki (#BDB76B). oklch(77% 0.127 103.9), rgb(194, 184, 79).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text10.26:1
White text2.04:1

Values

HEX#C2B84F
RGBrgb(194, 184, 79)
HSLhsl(55, 49%, 54%)
OKLCHoklch(77% 0.127 103.9)

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 #C2B84F 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #C2B84F 10.26:1 AAA Lc 64.2 Content text, not long reading
#C2B84F text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#C2B84F text on black 10.26:1 AAA Lc -62.6 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

    #F7F6E9

    oklch(97% 0.017 103.1)

  2. Step 100

    100

    #EDECD0

    oklch(93.7% 0.037 105.4)

  3. Step 200

    200

    #E0DCA6

    oklch(88.5% 0.071 104.2)

  4. Step 300

    300 (this color)

    #C2B84F

    oklch(77% 0.127 103.9)

  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

    #7F7600

    oklch(55.6% 0.118 104.3)

  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

#C2B84F 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)#C7B2440.016
Deuteranopia (no green cones)#CAB8550.014
Tritanopia (no blue cones)#CFADA10.114
Achromatopsia (no color)#B5B5B50.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2B84F

    #C2B84F

    oklch(77% 0.127 103.9)

  • #ABA9FF

    #ABA9FF

    oklch(77% 0.122 284.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2B84F

    #C2B84F

    oklch(77% 0.127 103.9)

  • #E4A74F

    #E4A74F

    oklch(77% 0.126 73.8)

  • #93C671

    #93C671

    oklch(77.1% 0.126 133.8)

Open the analogous palette in the generator

Split complementary

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

  • #C2B84F

    #C2B84F

    oklch(77% 0.127 103.9)

  • #7DB8FF

    #7DB8FF

    oklch(77.1% 0.12 253.7)

  • #D19BED

    #D19BED

    oklch(76.9% 0.127 313.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2B84F

    #C2B84F

    oklch(77% 0.127 103.9)

  • #40C5F0

    #40C5F0

    oklch(77% 0.127 224.1)

  • #ED93C8

    #ED93C8

    oklch(77.1% 0.126 344.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2B84F

    #C2B84F

    oklch(77% 0.127 103.9)

  • #23CDCC

    #23CDCC

    oklch(77% 0.126 194.2)

  • #ABA9FF

    #ABA9FF

    oklch(77% 0.122 284.2)

  • #FA919C

    #FA919C

    oklch(77% 0.127 13.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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