#D9F87B#D9F87B

#D9F87B is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.1% C 0.155 H 121.0°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#D9F87B
RGBrgb(217, 248, 123)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 50%, 97%)
CMYKcmyk(12.5%, 0%, 50.4%, 2.7%)
CIE-LABlab(93.15, -28.26, 56.13)
CIE-LCHlch(93.15, 62.84, 116.73°)
OKLaboklab(93.12% -0.0799 0.133)
OKLCHoklch(93.12% 0.155 121)
XYZxyz(65.7583, 83.3167, 31.3525)
Luminance0.8332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F87B #9A7BF8
analogous
#F8D87B #D9F87B #9AF87B
triadic
#D9F87B #7BD9F8 #F87BD9
tetradic
#D9F87B #7BF8D8 #9A7BF8 #F87B9A
square
#D9F87B #7BF8D8 #9A7BF8 #F87B9A
split-complementary
#D9F87B #7B9AF8 #D87BF8
monochromatic
#B5EC0D #C8F541 #D9F87B #EAFBB5 #F7FDE2

Accessibility & contrast

On white

1.19
#D9F87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#D9F87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F87B
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F87B#FFFFFF#000000##000000
##D9F87B1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC70
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#E2EDDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d9f87b;
/* rgb */ color: rgb(217, 248, 123);
/* oklch */ color: oklch(93.1% 0.155 121.0);
Tailwind
colors: {
  custom: {
    50: '#e7faa4',
    500: '#d9f87b',
    950: '#000000',
  },
}
SCSS
$custom: #d9f87b;
$custom-light: #e7faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f87b",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 74.88,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93117,
    "c": 0.15516,
    "h": 121
  },
  "luminance": 0.83317
}

Semantic roles & 50–950 ramp

primary
#D9F87B
secondary
#6743D4
accent
#00E639
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F87B

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

Preview Lab → · Contrast checker → · Palette generator →

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