#D9F57B#D9F57B

#D9F57B is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.5% C 0.151 H 120.1°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#D9F57B
RGBrgb(217, 245, 123)
HSLhsl(74, 86%, 72%)
HSVhsv(74, 50%, 96%)
CMYKcmyk(11.4%, 0%, 49.8%, 3.9%)
CIE-LABlab(92.35, -26.86, 55.17)
CIE-LCHlch(92.35, 61.36, 115.96°)
OKLaboklab(92.47% -0.076 0.1309)
OKLCHoklch(92.47% 0.151 120.1)
XYZxyz(64.8433, 81.4868, 31.0475)
Luminance0.8149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F57B #977BF5
analogous
#F5D47B #D9F57B #9CF57B
triadic
#D9F57B #7BD9F5 #F57BD9
tetradic
#D9F57B #7BF5D4 #977BF5 #F57B9C
square
#D9F57B #7BF5D4 #977BF5 #F57B9C
split-complementary
#D9F57B #7B9CF5 #D47BF5
monochromatic
#B4E411 #C9F142 #D9F57B #E9F9B4 #F7FDE3

Accessibility & contrast

On white

1.21
#D9F57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#D9F57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F57B
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F57B#FFFFFF#000000##000000
##D9F57B1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FFE982
Tritanopia (blue-blind)
#E3EAD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d9f57b;
/* rgb */ color: rgb(217, 245, 123);
/* oklch */ color: oklch(92.5% 0.151 120.1);
Tailwind
colors: {
  custom: {
    50: '#e7f8a4',
    500: '#d9f57b',
    950: '#000000',
  },
}
SCSS
$custom: #d9f57b;
$custom-light: #e7f8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f57b",
  "rgb": {
    "r": 217,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 73.77,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92471,
    "c": 0.15133,
    "h": 120.1
  },
  "luminance": 0.81487
}

Semantic roles & 50–950 ramp

primary
#D9F57B
secondary
#6444D0
accent
#03E236
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F57B

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

Preview Lab → · Contrast checker → · Palette generator →

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