#D5D27D

Closest named color: Greenish Beige (#C9D179). oklch(84.8% 0.107 106.7), rgb(213, 210, 125).

Aa

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

About this color

#D5D27D is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.107 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.018 away. Black text reads best on it, at 13.34:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text13.34:1
White text1.57:1

Values

HEX#D5D27D
RGBrgb(213, 210, 125)
HSLhsl(58, 51%, 66%)
OKLCHoklch(84.8% 0.107 106.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 #D5D27D 1.57:1 Fails Lc -29.5 Dividers and decoration only
Black text on #D5D27D 13.34:1 AAA Lc 77.7 Fine for body text
#D5D27D text on white 1.57:1 Fails Lc 26.1 Dividers and decoration only
#D5D27D text on black 13.34:1 AAA Lc -76.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

    #F7F7E9

    oklch(97.2% 0.018 106.7)

  2. Step 100

    100

    #ECECCE

    oklch(93.5% 0.039 107.1)

  3. Step 200

    200 (this color)

    #D5D27D

    oklch(84.8% 0.107 106.7)

  4. Step 300

    300

    #CBC651

    oklch(80.8% 0.138 106.8)

  5. Step 400

    400

    #ADA600

    oklch(70.8% 0.152 106.7)

  6. Step 500

    500

    #948E00

    oklch(63.1% 0.135 106.7)

  7. Step 600

    600

    #7C7700

    oklch(55.6% 0.119 106.8)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #555200

    oklch(42.8% 0.092 107.3)

  10. Step 900

    900

    #474400

    oklch(37.7% 0.081 106.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#D5D27D 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)#DFCC760.019
Deuteranopia (no green cones)#E1D0810.019
Tritanopia (no blue cones)#E1C8BD0.096
Achromatopsia (no color)#CECECE0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5D27D

    #D5D27D

    oklch(84.8% 0.107 106.7)

  • #C8C6FF

    #C8C6FF

    oklch(84.8% 0.079 286.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5D27D

    #D5D27D

    oklch(84.8% 0.107 106.7)

  • #F5C47A

    #F5C47A

    oklch(84.8% 0.108 76.8)

  • #ACDE98

    #ACDE98

    oklch(84.8% 0.108 137)

Open the analogous palette in the generator

Split complementary

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

  • #D5D27D

    #D5D27D

    oklch(84.8% 0.107 106.7)

  • #ADCFFF

    #ADCFFF

    oklch(84.6% 0.077 257)

  • #E9B7FC

    #E9B7FC

    oklch(84.7% 0.108 316.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5D27D

    #D5D27D

    oklch(84.8% 0.107 106.7)

  • #82DAFF

    #82DAFF

    oklch(84.6% 0.099 227)

  • #FFB2DA

    #FFB2DA

    oklch(84.8% 0.102 347)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5D27D

    #D5D27D

    oklch(84.8% 0.107 106.7)

  • #6BE3E5

    #6BE3E5

    oklch(84.8% 0.108 196.8)

  • #C8C6FF

    #C8C6FF

    oklch(84.8% 0.079 286.2)

  • #FFB7BA

    #FFB7BA

    oklch(84.7% 0.084 16.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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