#CCD462

Closest named color: Greenish Beige (#C9D179). oklch(84.1% 0.138 112.7), rgb(204, 212, 98).

Aa

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

About this color

#CCD462 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.138 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.027 away. Black text reads best on it, at 13.16:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.16:1
White text1.59:1

Values

HEX#CCD462
RGBrgb(204, 212, 98)
HSLhsl(64, 57%, 61%)
OKLCHoklch(84.1% 0.138 112.7)

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 #CCD462 1.59:1 Fails Lc -30.3 Non-text elements, placeholder text
Black text on #CCD462 13.16:1 AAA Lc 76.9 Fine for body text
#CCD462 text on white 1.59:1 Fails Lc 26.8 Dividers and decoration only
#CCD462 text on black 13.16:1 AAA Lc -76.2 Fine for body text

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

    #F5F7E9

    oklch(97.1% 0.019 113.3)

  2. Step 100

    100

    #EAEDCF

    oklch(93.6% 0.04 111.8)

  3. Step 200

    200

    #D9DFA4

    oklch(88.5% 0.077 112.7)

  4. Step 300

    300 (this color)

    #CCD462

    oklch(84.1% 0.138 112.7)

  5. Step 400

    400

    #A3AA00

    oklch(70.8% 0.158 112.7)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#CCD462 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)#E2CB570.035
Deuteranopia (no green cones)#E2CE680.036
Tritanopia (no blue cones)#D8C9BB0.122
Achromatopsia (no color)#CDCDCD0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD462

    #CCD462

    oklch(84.1% 0.138 112.7)

  • #CCC1FF

    #CCC1FF

    oklch(84.1% 0.086 292.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD462

    #CCD462

    oklch(84.1% 0.138 112.7)

  • #F7C255

    #F7C255

    oklch(84.2% 0.138 82.7)

  • #94E28E

    #94E28E

    oklch(84.2% 0.138 142.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCD462

    #CCD462

    oklch(84.1% 0.138 112.7)

  • #B0CBFF

    #B0CBFF

    oklch(84% 0.079 263.3)

  • #F5ACFF

    #F5ACFF

    oklch(84.1% 0.136 322.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD462

    #CCD462

    oklch(84.1% 0.138 112.7)

  • #89D6FF

    #89D6FF

    oklch(84.1% 0.095 232.8)

  • #FFB0D1

    #FFB0D1

    oklch(84.2% 0.1 352.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD462

    #CCD462

    oklch(84.1% 0.138 112.7)

  • #26E5F2

    #26E5F2

    oklch(84.2% 0.138 202.4)

  • #CCC1FF

    #CCC1FF

    oklch(84.1% 0.086 292.6)

  • #FFB5B1

    #FFB5B1

    oklch(84.2% 0.087 22.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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