#D1ED5B#D1ED5B

#D1ED5B is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.8% C 0.172 H 119.2°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#D1ED5B
RGBrgb(209, 237, 91)
HSLhsl(72, 80%, 64%)
HSVhsv(72, 62%, 93%)
CMYKcmyk(11.8%, 0%, 61.6%, 7.1%)
CIE-LABlab(89.34, -28.80, 65.57)
CIE-LCHlch(89.34, 71.62, 113.71°)
OKLaboklab(89.82% -0.0839 0.15)
OKLCHoklch(89.82% 0.172 119.2)
XYZxyz(58.4679, 74.8794, 21.2685)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1ED5B #775BED
analogous
#EDC05B #D1ED5B #88ED5B
triadic
#D1ED5B #5BD1ED #ED5BD1
tetradic
#D1ED5B #5BEDC0 #775BED #ED5B88
square
#D1ED5B #5BEDC0 #775BED #ED5B88
split-complementary
#D1ED5B #5B88ED #C05BED
monochromatic
#9AB914 #C2E724 #D1ED5B #E0F392 #F0F9C9

Accessibility & contrast

On white

1.31
#D1ED5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#D1ED5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1ED5B
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1ED5B#FFFFFF#000000##000000
##D1ED5B1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE149
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#DCE1CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d1ed5b;
/* rgb */ color: rgb(209, 237, 91);
/* oklch */ color: oklch(89.8% 0.172 119.2);
Tailwind
colors: {
  custom: {
    50: '#e2f28f',
    500: '#d1ed5b',
    950: '#000000',
  },
}
SCSS
$custom: #d1ed5b;
$custom-light: #e2f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ed5b",
  "rgb": {
    "r": 209,
    "g": 237,
    "b": 91
  },
  "hsl": {
    "h": 71.507,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89817,
    "c": 0.17192,
    "h": 119.2
  },
  "luminance": 0.74879
}

Semantic roles & 50–950 ramp

primary
#D1ED5B
secondary
#4D34B8
accent
#09DD32
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1ED5B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D1ED5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva