#D9F261#D9F261

#D9F261 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.5% C 0.170 H 118.2°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#D9F261
RGBrgb(217, 242, 97)
HSLhsl(70, 85%, 66%)
HSVhsv(70, 60%, 95%)
CMYKcmyk(10.3%, 0%, 59.9%, 5.1%)
CIE-LABlab(91.29, -27.60, 65.38)
CIE-LCHlch(91.29, 70.96, 112.88°)
OKLaboklab(91.54% -0.0804 0.1502)
OKLCHoklch(91.54% 0.17 118.2)
XYZxyz(62.5261, 79.1196, 23.2846)
Luminance0.7912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F261 #7A61F2
analogous
#F2C361 #D9F261 #91F261
triadic
#D9F261 #61D9F2 #F261D9
tetradic
#D9F261 #61F2C3 #7A61F2 #F26191
square
#D9F261 #61F2C3 #7A61F2 #F26191
split-complementary
#D9F261 #6191F2 #C361F2
monochromatic
#A8C810 #CBED28 #D9F261 #E7F79A #F4FBD2

Accessibility & contrast

On white

1.25
#D9F261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#D9F261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F261
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F261#FFFFFF#000000##000000
##D9F2611.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE650
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#E5E6D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d9f261;
/* rgb */ color: rgb(217, 242, 97);
/* oklch */ color: oklch(91.5% 0.170 118.2);
Tailwind
colors: {
  custom: {
    50: '#e8f693',
    500: '#d9f261',
    950: '#000000',
  },
}
SCSS
$custom: #d9f261;
$custom-light: #e8f693;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f261",
  "rgb": {
    "r": 217,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 70.345,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91539,
    "c": 0.17042,
    "h": 118.2
  },
  "luminance": 0.79119
}

Semantic roles & 50–950 ramp

primary
#D9F261
secondary
#4C32C5
accent
#04E12A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170D
muted
#85857F

Preview Lab

Preview with #D9F261

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

Preview Lab → · Contrast checker → · Palette generator →

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