#D9F97B#D9F97B

#D9F97B is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.3% C 0.156 H 121.3°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#D9F97B
RGBrgb(217, 249, 123)
HSLhsl(75, 91%, 73%)
HSVhsv(75, 51%, 98%)
CMYKcmyk(12.9%, 0%, 50.6%, 2.4%)
CIE-LABlab(93.42, -28.73, 56.44)
CIE-LCHlch(93.42, 63.34, 116.98°)
OKLaboklab(93.33% -0.0812 0.1337)
OKLCHoklch(93.33% 0.156 121.3)
XYZxyz(66.0665, 83.9332, 31.4553)
Luminance0.8393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F97B #9B7BF9
analogous
#F9DA7B #D9F97B #9AF97B
triadic
#D9F97B #7BD9F9 #F97BD9
tetradic
#D9F97B #7BF9DA #9B7BF9 #F97B9A
square
#D9F97B #7BF9DA #9B7BF9 #F97B9A
split-complementary
#D9F97B #7B9AF9 #DA7BF9
monochromatic
#B5EF0B #C8F640 #D9F97B #EAFCB6 #F7FEE2

Accessibility & contrast

On white

1.18
#D9F97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.79
#D9F97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F97B
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F97B#FFFFFF#000000##000000
##D9F97B1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6F
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#E2EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d9f97b;
/* rgb */ color: rgb(217, 249, 123);
/* oklch */ color: oklch(93.3% 0.156 121.3);
Tailwind
colors: {
  custom: {
    50: '#e7fba4',
    500: '#d9f97b',
    950: '#000000',
  },
}
SCSS
$custom: #d9f97b;
$custom-light: #e7fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f97b",
  "rgb": {
    "r": 217,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 75.238,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93333,
    "c": 0.15643,
    "h": 121.3
  },
  "luminance": 0.83933
}

Semantic roles & 50–950 ramp

primary
#D9F97B
secondary
#6843D6
accent
#00E63A
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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