#D9F56B#D9F56B

#D9F56B is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.3% C 0.166 H 119.4°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#D9F56B
RGBrgb(217, 245, 107)
HSLhsl(72, 87%, 69%)
HSVhsv(72, 56%, 96%)
CMYKcmyk(11.4%, 0%, 56.3%, 3.9%)
CIE-LABlab(92.18, -28.24, 62.13)
CIE-LCHlch(92.18, 68.25, 114.45°)
OKLaboklab(92.29% -0.0813 0.1445)
OKLCHoklch(92.29% 0.166 119.4)
XYZxyz(63.9223, 81.1184, 26.1970)
Luminance0.8112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F56B #876BF5
analogous
#F5CC6B #D9F56B #94F56B
triadic
#D9F56B #6BD9F5 #F56BD9
tetradic
#D9F56B #6BF5CC #876BF5 #F56B94
square
#D9F56B #6BF5CC #876BF5 #F56B94
split-complementary
#D9F56B #6B94F5 #CC6BF5
monochromatic
#AED70F #CAF132 #D9F56B #E8F9A4 #F6FDDE

Accessibility & contrast

On white

1.22
#D9F56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#D9F56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F56B
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F56B#FFFFFF#000000##000000
##D9F56B1.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95C
Deuteranopia (green-blind)
#FFE974
Tritanopia (blue-blind)
#E4E9D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d9f56b;
/* rgb */ color: rgb(217, 245, 107);
/* oklch */ color: oklch(92.3% 0.166 119.4);
Tailwind
colors: {
  custom: {
    50: '#e7f89a',
    500: '#d9f56b',
    950: '#000000',
  },
}
SCSS
$custom: #d9f56b;
$custom-light: #e7f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f56b",
  "rgb": {
    "r": 217,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 72.174,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.92287,
    "c": 0.16578,
    "h": 119.4
  },
  "luminance": 0.81118
}

Semantic roles & 50–950 ramp

primary
#D9F56B
secondary
#5536CE
accent
#02E430
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F56B

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

Preview Lab → · Contrast checker → · Palette generator →

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