#D9E258#D9E258

#D9E258 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.0% C 0.159 H 112.8°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#D9E258
RGBrgb(217, 226, 88)
HSLhsl(64, 70%, 62%)
HSVhsv(64, 61%, 89%)
CMYKcmyk(4%, 0%, 61.1%, 11.4%)
CIE-LABlab(86.92, -20.58, 64.37)
CIE-LCHlch(86.92, 67.58, 107.73°)
OKLaboklab(88.02% -0.0616 0.147)
OKLCHoklch(88.02% 0.159 112.8)
XYZxyz(57.5746, 69.8502, 19.6801)
Luminance0.6985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E258 #6158E2
analogous
#E2A658 #D9E258 #94E258
triadic
#D9E258 #58D9E2 #E258D9
tetradic
#D9E258 #58E2A6 #6158E2 #E25894
square
#D9E258 #58E2A6 #6158E2 #E25894
split-complementary
#D9E258 #5894E2 #A658E2
monochromatic
#9AA31C #CCD725 #D9E258 #E5EB8C #F1F4C0

Accessibility & contrast

On white

1.40
#D9E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#D9E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E258
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E258#FFFFFF#000000##000000
##D9E2581.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D847
Deuteranopia (green-blind)
#F2DB61
Tritanopia (blue-blind)
#E7D5C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d9e258;
/* rgb */ color: rgb(217, 226, 88);
/* oklch */ color: oklch(88.0% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#e8eb8d',
    500: '#d9e258',
    950: '#000000',
  },
}
SCSS
$custom: #d9e258;
$custom-light: #e8eb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e258",
  "rgb": {
    "r": 217,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 63.913,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88017,
    "c": 0.15935,
    "h": 112.8
  },
  "luminance": 0.69849
}

Semantic roles & 50–950 ramp

primary
#D9E258
secondary
#3F38A6
accent
#13D220
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D9E258

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

Preview Lab → · Contrast checker → · Palette generator →

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