#D9F258#D9F258

#D9F258 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.5% C 0.177 H 117.9°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#D9F258
RGBrgb(217, 242, 88)
HSLhsl(70, 86%, 65%)
HSVhsv(70, 64%, 95%)
CMYKcmyk(10.3%, 0%, 63.6%, 5.1%)
CIE-LABlab(91.22, -28.21, 68.94)
CIE-LCHlch(91.22, 74.49, 112.25°)
OKLaboklab(91.46% -0.083 0.1566)
OKLCHoklch(91.46% 0.177 117.9)
XYZxyz(62.1300, 78.9611, 21.1986)
Luminance0.7896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F258 #7158F2
analogous
#F2BE58 #D9F258 #8CF258
triadic
#D9F258 #58D9F2 #F258D9
tetradic
#D9F258 #58F2BE #7158F2 #F2588C
square
#D9F258 #58F2BE #7158F2 #F2588C
split-complementary
#D9F258 #588CF2 #BE58F2
monochromatic
#A4C10F #CCEE1F #D9F258 #E6F691 #F3FBCA

Accessibility & contrast

On white

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

On black

16.79
#D9F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F258
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F258#FFFFFF#000000##000000
##D9F2581.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE544
Deuteranopia (green-blind)
#FFE763
Tritanopia (blue-blind)
#E5E5D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d9f258;
/* rgb */ color: rgb(217, 242, 88);
/* oklch */ color: oklch(91.5% 0.177 117.9);
Tailwind
colors: {
  custom: {
    50: '#e8f68e',
    500: '#d9f258',
    950: '#000000',
  },
}
SCSS
$custom: #d9f258;
$custom-light: #e8f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f258",
  "rgb": {
    "r": 217,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 69.74,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91459,
    "c": 0.17724,
    "h": 117.9
  },
  "luminance": 0.78961
}

Semantic roles & 50–950 ramp

primary
#D9F258
secondary
#4730BE
accent
#03E228
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D9F258

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

Preview Lab → · Contrast checker → · Palette generator →

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