#D9F259#D9F259

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

Color values

HEX#D9F259
RGBrgb(217, 242, 89)
HSLhsl(70, 85%, 65%)
HSVhsv(70, 63%, 95%)
CMYKcmyk(10.3%, 0%, 63.2%, 5.1%)
CIE-LABlab(91.22, -28.14, 68.55)
CIE-LCHlch(91.22, 74.11, 112.32°)
OKLaboklab(91.47% -0.0827 0.1559)
OKLCHoklch(91.47% 0.177 118)
XYZxyz(62.1717, 78.9778, 21.4183)
Luminance0.7898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F259 #7259F2
analogous
#F2BF59 #D9F259 #8CF259
triadic
#D9F259 #59D9F2 #F259D9
tetradic
#D9F259 #59F2BF #7259F2 #F2598C
square
#D9F259 #59F2BF #7259F2 #F2598C
split-complementary
#D9F259 #598CF2 #BF59F2
monochromatic
#A4C10F #CCEE20 #D9F259 #E6F692 #F3FBCB

Accessibility & contrast

On white

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

On black

16.80
#D9F259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F259
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F259#FFFFFF#000000##000000
##D9F2591.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f259;
/* rgb */ color: rgb(217, 242, 89);
/* oklch */ color: oklch(91.5% 0.177 118.0);
Tailwind
colors: {
  custom: {
    50: '#e8f68f',
    500: '#d9f259',
    950: '#000000',
  },
}
SCSS
$custom: #d9f259;
$custom-light: #e8f68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f259",
  "rgb": {
    "r": 217,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 69.804,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91467,
    "c": 0.17651,
    "h": 118
  },
  "luminance": 0.78977
}

Semantic roles & 50–950 ramp

primary
#D9F259
secondary
#4730BF
accent
#04E228
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D9F259

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

Preview Lab → · Contrast checker → · Palette generator →

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