#C6BB12

Closest named color: Olive Yellow (#C2B709). oklch(77.7% 0.162 105.2), rgb(198, 187, 18).

Aa

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

About this color

#C6BB12 is a medium-light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.162 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.012 away. Black text reads best on it, at 10.51:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromavivid (0.162)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.51:1
White text1.99:1

Values

HEX#C6BB12
RGBrgb(198, 187, 18)
HSLhsl(56, 83%, 42%)
OKLCHoklch(77.7% 0.162 105.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 #C6BB12 1.99:1 Fails Lc -42.9 Non-text elements, placeholder text
Black text on #C6BB12 10.51:1 AAA Lc 65.5 Content text, not long reading
#C6BB12 text on white 1.99:1 Fails Lc 38.5 Non-text elements, placeholder text
#C6BB12 text on black 10.51:1 AAA Lc -63.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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EEECC9

    oklch(93.6% 0.046 104.6)

  3. Step 200

    200

    #E1DD97

    oklch(88.5% 0.09 105.3)

  4. Step 300

    300 (this color)

    #C6BB12

    oklch(77.7% 0.162 105.2)

  5. Step 400

    400

    #AFA500

    oklch(70.8% 0.15 105.3)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#C6BB12 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)#CDB4000.019
Deuteranopia (no green cones)#D0BA270.018
Tritanopia (no blue cones)#D6AD9F0.148
Achromatopsia (no color)#B7B7B70.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #C6BB12

    #C6BB12

    oklch(77.7% 0.162 105.2)

  • #AFABFF

    #AFABFF

    oklch(77.7% 0.119 285.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C6BB12

    #C6BB12

    oklch(77.7% 0.162 105.2)

  • #F1A50B

    #F1A50B

    oklch(77.7% 0.162 75.4)

  • #87CD5D

    #87CD5D

    oklch(77.7% 0.162 135.2)

Open the analogous palette in the generator

Split complementary

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

  • #C6BB12

    #C6BB12

    oklch(77.7% 0.162 105.2)

  • #83B9FF

    #83B9FF

    oklch(77.6% 0.116 255.3)

  • #DD94FC

    #DD94FC

    oklch(77.6% 0.161 315.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C6BB12

    #C6BB12

    oklch(77.7% 0.162 105.2)

  • #00C9FD

    #00C9FD

    oklch(77.8% 0.147 225.1)

  • #FE88CD

    #FE88CD

    oklch(77.6% 0.163 345.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C6BB12

    #C6BB12

    oklch(77.7% 0.162 105.2)

  • #00D0D1

    #00D0D1

    oklch(77.7% 0.132 195.4)

  • #AFABFF

    #AFABFF

    oklch(77.7% 0.119 285.5)

  • #FF919B

    #FF919B

    oklch(77.6% 0.133 14.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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