#D1EB5E#D1EB5E

#D1EB5E is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 89.4% C 0.167 H 118.7°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#D1EB5E
RGBrgb(209, 235, 94)
HSLhsl(71, 78%, 65%)
HSVhsv(71, 60%, 92%)
CMYKcmyk(11.1%, 0%, 60%, 7.8%)
CIE-LABlab(88.82, -27.65, 63.77)
CIE-LCHlch(88.82, 69.51, 113.44°)
OKLaboklab(89.41% -0.0804 0.1466)
OKLCHoklch(89.41% 0.167 118.7)
XYZxyz(58.0241, 73.7805, 21.7718)
Luminance0.7378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EB5E #785EEB
analogous
#EBBF5E #D1EB5E #8BEB5E
triadic
#D1EB5E #5ED1EB #EB5ED1
tetradic
#D1EB5E #5EEBBF #785EEB #EB5E8B
square
#D1EB5E #5EEBBF #785EEB #EB5E8B
split-complementary
#D1EB5E #5E8BEB #BF5EEB
monochromatic
#9AB817 #C1E428 #D1EB5E #E1F294 #F0F9CB

Accessibility & contrast

On white

1.33
#D1EB5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#D1EB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EB5E
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EB5E#FFFFFF#000000##000000
##D1EB5E1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4E
Deuteranopia (green-blind)
#F6E067
Tritanopia (blue-blind)
#DCDFCD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d1eb5e;
/* rgb */ color: rgb(209, 235, 94);
/* oklch */ color: oklch(89.4% 0.167 118.7);
Tailwind
colors: {
  custom: {
    50: '#e2f191',
    500: '#d1eb5e',
    950: '#000000',
  },
}
SCSS
$custom: #d1eb5e;
$custom-light: #e2f191;
$custom-dark: #000000;
JSON
{
  "hex": "#d1eb5e",
  "rgb": {
    "r": 209,
    "g": 235,
    "b": 94
  },
  "hsl": {
    "h": 71.064,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89409,
    "c": 0.16721,
    "h": 118.7
  },
  "luminance": 0.7378
}

Semantic roles & 50–950 ramp

primary
#D1EB5E
secondary
#4E36B7
accent
#0BDA31
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D1EB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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