#D1EB5D#D1EB5D

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

Color values

HEX#D1EB5D
RGBrgb(209, 235, 93)
HSLhsl(71, 78%, 64%)
HSVhsv(71, 60%, 92%)
CMYKcmyk(11.1%, 0%, 60.4%, 7.8%)
CIE-LABlab(88.81, -27.72, 64.18)
CIE-LCHlch(88.81, 69.91, 113.36°)
OKLaboklab(89.4% -0.0807 0.1474)
OKLCHoklch(89.4% 0.168 118.7)
XYZxyz(57.9795, 73.7627, 21.5370)
Luminance0.7376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EB5D #775DEB
analogous
#EBBE5D #D1EB5D #8AEB5D
triadic
#D1EB5D #5DD1EB #EB5DD1
tetradic
#D1EB5D #5DEBBE #775DEB #EB5D8A
square
#D1EB5D #5DEBBE #775DEB #EB5D8A
split-complementary
#D1EB5D #5D8AEB #BE5DEB
monochromatic
#9AB717 #C2E427 #D1EB5D #E0F293 #F0F8CA

Accessibility & contrast

On white

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

On black

15.75
#D1EB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EB5D
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EB5D#FFFFFF#000000##000000
##D1EB5D1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1eb5d;
/* rgb */ color: rgb(209, 235, 93);
/* oklch */ color: oklch(89.4% 0.168 118.7);
Tailwind
colors: {
  custom: {
    50: '#e2f190',
    500: '#d1eb5d',
    950: '#000000',
  },
}
SCSS
$custom: #d1eb5d;
$custom-light: #e2f190;
$custom-dark: #000000;
JSON
{
  "hex": "#d1eb5d",
  "rgb": {
    "r": 209,
    "g": 235,
    "b": 93
  },
  "hsl": {
    "h": 70.986,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89399,
    "c": 0.16801,
    "h": 118.7
  },
  "luminance": 0.73762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1EB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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