#CCB062

Closest named color: Desert (#CCAD60). oklch(76.5% 0.103 90.1), rgb(204, 176, 98).

Aa

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

About this color

#CCB062 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.103 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.007 away. Black text reads best on it, at 9.95:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameDesert (#CCAD60)
Black text9.95:1
White text2.10:1

Values

HEX#CCB062
RGBrgb(204, 176, 98)
HSLhsl(44, 51%, 59%)
OKLCHoklch(76.5% 0.103 90.1)

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 #CCB062 2.10:1 Fails Lc -45.9 Large or bold text, headings
Black text on #CCB062 9.95:1 AAA Lc 62.7 Content text, not long reading
#CCB062 text on white 2.10:1 Fails Lc 41.3 Non-text elements, placeholder text
#CCB062 text on black 9.95:1 AAA Lc -61.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

    #F9F5EB

    oklch(97.1% 0.014 88.7)

  2. Step 100

    100

    #F1E9D4

    oklch(93.5% 0.029 89.6)

  3. Step 200

    200

    #E8D8AF

    oklch(88.5% 0.057 89.2)

  4. Step 300

    300 (this color)

    #CCB062

    oklch(76.5% 0.103 90.1)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#CCB062 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)#BFAE5B0.023
Deuteranopia (no green cones)#C6B6650.017
Tritanopia (no blue cones)#DAA59E0.093
Achromatopsia (no color)#B2B2B20.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCB062

    #CCB062

    oklch(76.5% 0.103 90.1)

  • #99B0F5

    #99B0F5

    oklch(76.6% 0.103 269.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCB062

    #CCB062

    oklch(76.5% 0.103 90.1)

  • #E3A36E

    #E3A36E

    oklch(76.5% 0.103 60)

  • #AABD70

    #AABD70

    oklch(76.6% 0.104 120.2)

Open the analogous palette in the generator

Split complementary

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

  • #CCB062

    #CCB062

    oklch(76.5% 0.103 90.1)

  • #73BBEE

    #73BBEE

    oklch(76.4% 0.103 240.8)

  • #BDA4EB

    #BDA4EB

    oklch(76.6% 0.103 300.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCB062

    #CCB062

    oklch(76.5% 0.103 90.1)

  • #56C5D7

    #56C5D7

    oklch(76.6% 0.103 209.7)

  • #D89BD2

    #D89BD2

    oklch(76.5% 0.102 329.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCB062

    #CCB062

    oklch(76.5% 0.103 90.1)

  • #5DC8B5

    #5DC8B5

    oklch(76.4% 0.103 180.1)

  • #99B0F5

    #99B0F5

    oklch(76.6% 0.103 269.7)

  • #E997B0

    #E997B0

    oklch(76.6% 0.103 0)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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