#D9F262#D9F262

#D9F262 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.83:1 contrast (WCAG AA passes).

Color values

HEX#D9F262
RGBrgb(217, 242, 98)
HSLhsl(70, 85%, 67%)
HSVhsv(70, 60%, 95%)
CMYKcmyk(10.3%, 0%, 59.5%, 5.1%)
CIE-LABlab(91.30, -27.52, 64.97)
CIE-LCHlch(91.30, 70.56, 112.96°)
OKLaboklab(91.55% -0.0801 0.1495)
OKLCHoklch(91.55% 0.17 118.2)
XYZxyz(62.5730, 79.1383, 23.5318)
Luminance0.7914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F262 #7B62F2
analogous
#F2C362 #D9F262 #91F262
triadic
#D9F262 #62D9F2 #F262D9
tetradic
#D9F262 #62F2C3 #7B62F2 #F26291
square
#D9F262 #62F2C3 #7B62F2 #F26291
split-complementary
#D9F262 #6291F2 #C362F2
monochromatic
#A9C911 #CBED29 #D9F262 #E7F79B #F4FBD3

Accessibility & contrast

On white

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

On black

16.83
#D9F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F262
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F262#FFFFFF#000000##000000
##D9F2621.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f262;
/* rgb */ color: rgb(217, 242, 98);
/* oklch */ color: oklch(91.5% 0.170 118.2);
Tailwind
colors: {
  custom: {
    50: '#e7f694',
    500: '#d9f262',
    950: '#000000',
  },
}
SCSS
$custom: #d9f262;
$custom-light: #e7f694;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f262",
  "rgb": {
    "r": 217,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 70.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91549,
    "c": 0.16962,
    "h": 118.2
  },
  "luminance": 0.79138
}

Semantic roles & 50–950 ramp

primary
#D9F262
secondary
#4C33C6
accent
#04E12B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F262

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

Preview Lab → · Contrast checker → · Palette generator →

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