#CBD998

Closest named color: Light Grey Green (#B7E1A1). oklch(85.9% 0.087 118.1), rgb(203, 217, 152).

Aa

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

About this color

#CBD998 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.087 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.029 away. Black text reads best on it, at 13.91:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text13.91:1
White text1.50:1

Values

HEX#CBD998
RGBrgb(203, 217, 152)
HSLhsl(73, 46%, 72%)
OKLCHoklch(85.9% 0.087 118.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 #CBD998 1.50:1 Fails Lc -26.9 Dividers and decoration only
Black text on #CBD998 13.91:1 AAA Lc 80.0 Fine for body text
#CBD998 text on white 1.50:1 Fails Lc 23.7 Dividers and decoration only
#CBD998 text on black 13.91:1 AAA Lc -79.4 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

    #F4F7EC

    oklch(97.1% 0.015 119.1)

  2. Step 100

    100

    #E7EDD5

    oklch(93.5% 0.032 118.4)

  3. Step 200

    200 (this color)

    #CBD998

    oklch(85.9% 0.087 118.1)

  4. Step 300

    300

    #BACB76

    oklch(81% 0.111 118.2)

  5. Step 400

    400

    #98AD00

    oklch(70.6% 0.165 118.1)

  6. Step 500

    500

    #829400

    oklch(63% 0.147 118)

  7. Step 600

    600

    #6D7D00

    oklch(55.7% 0.13 118.3)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#CBD998 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)#E2D2940.034
Deuteranopia (no green cones)#E0D39B0.033
Tritanopia (no blue cones)#D1D2C80.073
Achromatopsia (no color)#D2D2D20.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBD998

    #CBD998

    oklch(85.9% 0.087 118.1)

  • #D7C6FF

    #D7C6FF

    oklch(85.9% 0.08 298.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBD998

    #CBD998

    oklch(85.9% 0.087 118.1)

  • #E8CE8E

    #E8CE8E

    oklch(85.9% 0.087 88.3)

  • #AAE1B1

    #AAE1B1

    oklch(85.9% 0.087 148.2)

Open the analogous palette in the generator

Split complementary

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

  • #CBD998

    #CBD998

    oklch(85.9% 0.087 118.1)

  • #BDD0FF

    #BDD0FF

    oklch(85.9% 0.069 267.7)

  • #F1BDEE

    #F1BDEE

    oklch(86% 0.087 328.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBD998

    #CBD998

    oklch(85.9% 0.087 118.1)

  • #A0D9FF

    #A0D9FF

    oklch(85.9% 0.079 238.1)

  • #FFBAD0

    #FFBAD0

    oklch(85.9% 0.084 358.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBD998

    #CBD998

    oklch(85.9% 0.087 118.1)

  • #89E1EE

    #89E1EE

    oklch(85.9% 0.087 207.7)

  • #D7C6FF

    #D7C6FF

    oklch(85.9% 0.08 298.4)

  • #FFBEB5

    #FFBEB5

    oklch(85.8% 0.077 27.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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