#D9F281#D9F281

#D9F281 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.9% C 0.142 H 119.5°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#D9F281
RGBrgb(217, 242, 129)
HSLhsl(73, 81%, 73%)
HSVhsv(73, 47%, 95%)
CMYKcmyk(10.3%, 0%, 46.7%, 5.1%)
CIE-LABlab(91.61, -24.85, 51.49)
CIE-LCHlch(91.61, 57.17, 115.77°)
OKLaboklab(91.91% -0.0698 0.1232)
OKLCHoklch(91.91% 0.142 119.5)
XYZxyz(64.3303, 79.8412, 32.7865)
Luminance0.7984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F281 #9A81F2
analogous
#F2D281 #D9F281 #A1F281
triadic
#D9F281 #81D9F2 #F281D9
tetradic
#D9F281 #81F2D2 #9A81F2 #F281A1
square
#D9F281 #81F2D2 #9A81F2 #F281A1
split-complementary
#D9F281 #81A1F2 #D281F2
monochromatic
#B5E117 #C8EC4A #D9F281 #EAF8B8 #F7FCE3

Accessibility & contrast

On white

1.24
#D9F281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#D9F281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F281
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F281#FFFFFF#000000##000000
##D9F2811.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE777
Deuteranopia (green-blind)
#FBE787
Tritanopia (blue-blind)
#E2E8D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d9f281;
/* rgb */ color: rgb(217, 242, 129);
/* oklch */ color: oklch(91.9% 0.142 119.5);
Tailwind
colors: {
  custom: {
    50: '#e6f6a8',
    500: '#d9f281',
    950: '#000000',
  },
}
SCSS
$custom: #d9f281;
$custom-light: #e6f6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f281",
  "rgb": {
    "r": 217,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 73.274,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91905,
    "c": 0.14164,
    "h": 119.5
  },
  "luminance": 0.79841
}

Semantic roles & 50–950 ramp

primary
#D9F281
secondary
#674ACD
accent
#08DE37
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #D9F281

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

Preview Lab → · Contrast checker → · Palette generator →

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