#CCB54D

Closest named color: Dark Khaki (#BDB76B). oklch(77.3% 0.126 96.8), rgb(204, 181, 77).

Aa

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

About this color

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

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

Values

HEX#CCB54D
RGBrgb(204, 181, 77)
HSLhsl(49, 55%, 55%)
OKLCHoklch(77.3% 0.126 96.8)

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 #CCB54D 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #CCB54D 10.28:1 AAA Lc 64.3 Content text, not long reading
#CCB54D text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#CCB54D text on black 10.28:1 AAA Lc -62.7 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

    #F8F6E9

    oklch(97.1% 0.017 99.6)

  2. Step 100

    100

    #F0EACF

    oklch(93.5% 0.036 96.7)

  3. Step 200

    200

    #E6DAA5

    oklch(88.5% 0.07 96.9)

  4. Step 300

    300 (this color)

    #CCB54D

    oklch(77.3% 0.126 96.8)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A08800

    oklch(63% 0.13 96.6)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#CCB54D 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)#C6B1410.017
Deuteranopia (no green cones)#CCB9520.010
Tritanopia (no blue cones)#DBA89F0.116
Achromatopsia (no color)#B5B5B50.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCB54D

    #CCB54D

    oklch(77.3% 0.126 96.8)

  • #A2AEFF

    #A2AEFF

    oklch(77.3% 0.117 276.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCB54D

    #CCB54D

    oklch(77.3% 0.126 96.8)

  • #EBA456

    #EBA456

    oklch(77.3% 0.126 66.5)

  • #A0C468

    #A0C468

    oklch(77.3% 0.126 126.7)

Open the analogous palette in the generator

Split complementary

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

  • #CCB54D

    #CCB54D

    oklch(77.3% 0.126 96.8)

  • #70BCFF

    #70BCFF

    oklch(77.3% 0.123 246.8)

  • #CA9FF4

    #CA9FF4

    oklch(77.3% 0.126 306.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCB54D

    #CCB54D

    oklch(77.3% 0.126 96.8)

  • #36C8E9

    #36C8E9

    oklch(77.2% 0.126 217)

  • #E895D3

    #E895D3

    oklch(77.3% 0.126 336.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCB54D

    #CCB54D

    oklch(77.3% 0.126 96.8)

  • #30CFC2

    #30CFC2

    oklch(77.4% 0.126 186.5)

  • #A2AEFF

    #A2AEFF

    oklch(77.3% 0.117 276.9)

  • #F992A8

    #F992A8

    oklch(77.4% 0.126 6.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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