#D9FA7B#D9FA7B

#D9FA7B is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.5% C 0.158 H 121.6°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#D9FA7B
RGBrgb(217, 250, 123)
HSLhsl(76, 93%, 73%)
HSVhsv(76, 51%, 98%)
CMYKcmyk(13.2%, 0%, 50.8%, 2%)
CIE-LABlab(93.69, -29.20, 56.76)
CIE-LCHlch(93.69, 63.83, 117.22°)
OKLaboklab(93.55% -0.0826 0.1344)
OKLCHoklch(93.55% 0.158 121.6)
XYZxyz(66.3764, 84.5530, 31.5586)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9FA7B #9C7BFA
analogous
#FADC7B #D9FA7B #99FA7B
triadic
#D9FA7B #7BD9FA #FA7BD9
tetradic
#D9FA7B #7BFADC #9C7BFA #FA7B99
square
#D9FA7B #7BFADC #9C7BFA #FA7B99
split-complementary
#D9FA7B #7B99FA #DC7BFA
monochromatic
#B5F109 #C8F840 #D9FA7B #EAFCB6 #F7FEE2

Accessibility & contrast

On white

1.17
#D9FA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#D9FA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9FA7B
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9FA7B#FFFFFF#000000##000000
##D9FA7B1.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6F
Deuteranopia (green-blind)
#FFED82
Tritanopia (blue-blind)
#E2EFDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d9fa7b;
/* rgb */ color: rgb(217, 250, 123);
/* oklch */ color: oklch(93.5% 0.158 121.6);
Tailwind
colors: {
  custom: {
    50: '#e7fca4',
    500: '#d9fa7b',
    950: '#000000',
  },
}
SCSS
$custom: #d9fa7b;
$custom-light: #e7fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9fa7b",
  "rgb": {
    "r": 217,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 75.591,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93549,
    "c": 0.15771,
    "h": 121.6
  },
  "luminance": 0.84553
}

Semantic roles & 50–950 ramp

primary
#D9FA7B
secondary
#6942D7
accent
#00E63C
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D9FA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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