#CBD978

Closest named color: Greenish Beige (#C9D179). oklch(85.4% 0.123 115.8), rgb(203, 217, 120).

Aa

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

About this color

#CBD978 is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.123 and its hue 116°. 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.73:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.73:1
White text1.52:1

Values

HEX#CBD978
RGBrgb(203, 217, 120)
HSLhsl(69, 56%, 66%)
OKLCHoklch(85.4% 0.123 115.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 #CBD978 1.52:1 Fails Lc -27.7 Dividers and decoration only
Black text on #CBD978 13.73:1 AAA Lc 79.3 Fine for body text
#CBD978 text on white 1.52:1 Fails Lc 24.5 Dividers and decoration only
#CBD978 text on black 13.73:1 AAA Lc -78.7 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

    #F4F7E8

    oklch(97% 0.02 116)

  2. Step 100

    100

    #E8EECC

    oklch(93.6% 0.045 115.4)

  3. Step 200

    200 (this color)

    #CBD978

    oklch(85.4% 0.123 115.8)

  4. Step 300

    300

    #BCCC44

    oklch(80.8% 0.158 115.8)

  5. Step 400

    400

    #9DAC00

    oklch(70.8% 0.162 115.9)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #707B00

    oklch(55.5% 0.127 115.8)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404700

    oklch(37.8% 0.086 116)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#CBD978 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)#E5D0700.039
Deuteranopia (no green cones)#E4D27D0.040
Tritanopia (no blue cones)#D5CFC20.107
Achromatopsia (no color)#D1D1D10.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #CBD978

    #CBD978

    oklch(85.4% 0.123 115.8)

  • #D3C5FF

    #D3C5FF

    oklch(85.4% 0.081 295.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CBD978

    #CBD978

    oklch(85.4% 0.123 115.8)

  • #F3C96A

    #F3C96A

    oklch(85.4% 0.123 85.8)

  • #99E59E

    #99E59E

    oklch(85.4% 0.123 146)

Open the analogous palette in the generator

Split complementary

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

  • #CBD978

    #CBD978

    oklch(85.4% 0.123 115.8)

  • #B9CFFF

    #B9CFFF

    oklch(85.4% 0.071 265.6)

  • #F9B3FA

    #F9B3FA

    oklch(85.5% 0.122 326.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CBD978

    #CBD978

    oklch(85.4% 0.123 115.8)

  • #99D8FF

    #99D8FF

    oklch(85.3% 0.084 236.3)

  • #FFB7D1

    #FFB7D1

    oklch(85.4% 0.089 355.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CBD978

    #CBD978

    oklch(85.4% 0.123 115.8)

  • #56E6F6

    #56E6F6

    oklch(85.4% 0.123 205.6)

  • #D3C5FF

    #D3C5FF

    oklch(85.4% 0.081 295.7)

  • #FFBBB4

    #FFBBB4

    oklch(85.3% 0.08 25.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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