#D1EB5B#D1EB5B

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

Color values

HEX#D1EB5B
RGBrgb(209, 235, 91)
HSLhsl(71, 78%, 64%)
HSVhsv(71, 61%, 92%)
CMYKcmyk(11.1%, 0%, 61.3%, 7.8%)
CIE-LABlab(88.79, -27.86, 64.98)
CIE-LCHlch(88.79, 70.71, 113.21°)
OKLaboklab(89.38% -0.0813 0.1488)
OKLCHoklch(89.38% 0.17 118.7)
XYZxyz(57.8921, 73.7277, 21.0766)
Luminance0.7373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EB5B #755BEB
analogous
#EBBD5B #D1EB5B #89EB5B
triadic
#D1EB5B #5BD1EB #EB5BD1
tetradic
#D1EB5B #5BEBBD #755BEB #EB5B89
square
#D1EB5B #5BEBBD #755BEB #EB5B89
split-complementary
#D1EB5B #5B89EB #BD5BEB
monochromatic
#99B516 #C2E424 #D1EB5B #E0F292 #F0F8C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1EB5B#FFFFFF#000000##000000
##D1EB5B1.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)
#F9DF4A
Deuteranopia (green-blind)
#F6E065
Tritanopia (blue-blind)
#DCDFCD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d1eb5b;
/* rgb */ color: rgb(209, 235, 91);
/* oklch */ color: oklch(89.4% 0.170 118.7);
Tailwind
colors: {
  custom: {
    50: '#e2f18f',
    500: '#d1eb5b',
    950: '#000000',
  },
}
SCSS
$custom: #d1eb5b;
$custom-light: #e2f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1eb5b",
  "rgb": {
    "r": 209,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 70.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89381,
    "c": 0.16958,
    "h": 118.7
  },
  "luminance": 0.73727
}

Semantic roles & 50–950 ramp

primary
#D1EB5B
secondary
#4C35B5
accent
#0BDB30
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D1EB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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