#CAD987

Closest named color: Greenish Beige (#C9D179). oklch(85.5% 0.107 117.2), rgb(202, 217, 135).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.78:1
White text1.52:1

Values

HEX#CAD987
RGBrgb(202, 217, 135)
HSLhsl(71, 52%, 69%)
OKLCHoklch(85.5% 0.107 117.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 #CAD987 1.52:1 Fails Lc -27.5 Dividers and decoration only
Black text on #CAD987 13.78:1 AAA Lc 79.5 Fine for body text
#CAD987 text on white 1.52:1 Fails Lc 24.3 Dividers and decoration only
#CAD987 text on black 13.78:1 AAA Lc -78.9 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 200.

  1. Step 50

    50

    #F4F7EA

    oklch(97% 0.017 117.3)

  2. Step 100

    100

    #E7EED0

    oklch(93.6% 0.04 117.9)

  3. Step 200

    200 (this color)

    #CAD987

    oklch(85.5% 0.107 117.2)

  4. Step 300

    300

    #BACC5E

    oklch(80.9% 0.137 117.3)

  5. Step 400

    400

    #9AAD00

    oklch(70.8% 0.164 117.3)

  6. Step 500

    500

    #849400

    oklch(63.2% 0.146 117.1)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#CAD987 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)#E3D1810.037
Deuteranopia (no green cones)#E2D28B0.038
Tritanopia (no blue cones)#D2D1C50.091
Achromatopsia (no color)#D1D1D10.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAD987

    #CAD987

    oklch(85.5% 0.107 117.2)

  • #D5C5FF

    #D5C5FF

    oklch(85.6% 0.081 297.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAD987

    #CAD987

    oklch(85.5% 0.107 117.2)

  • #EDCB7B

    #EDCB7B

    oklch(85.4% 0.106 87.1)

  • #A0E3A7

    #A0E3A7

    oklch(85.5% 0.107 147.2)

Open the analogous palette in the generator

Split complementary

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

  • #CAD987

    #CAD987

    oklch(85.5% 0.107 117.2)

  • #BBCFFF

    #BBCFFF

    oklch(85.6% 0.071 267.2)

  • #F5B7F4

    #F5B7F4

    oklch(85.5% 0.106 327)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAD987

    #CAD987

    oklch(85.5% 0.107 117.2)

  • #9CD8FF

    #9CD8FF

    oklch(85.5% 0.082 237.5)

  • #FFB8D0

    #FFB8D0

    oklch(85.5% 0.087 357.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAD987

    #CAD987

    oklch(85.5% 0.107 117.2)

  • #70E3F3

    #70E3F3

    oklch(85.5% 0.106 207.5)

  • #D5C5FF

    #D5C5FF

    oklch(85.6% 0.081 297.3)

  • #FFBCB4

    #FFBCB4

    oklch(85.5% 0.079 26.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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