#D8E258#D8E258

#D8E258 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 87.9% C 0.160 H 113.1°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#D8E258
RGBrgb(216, 226, 88)
HSLhsl(64, 70%, 62%)
HSVhsv(64, 61%, 89%)
CMYKcmyk(4.4%, 0%, 61.1%, 11.4%)
CIE-LABlab(86.85, -20.98, 64.27)
CIE-LCHlch(86.85, 67.61, 108.08°)
OKLaboklab(87.94% -0.0627 0.1468)
OKLCHoklch(87.94% 0.16 113.1)
XYZxyz(57.2782, 69.6973, 19.6662)
Luminance0.6970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E258 #6258E2
analogous
#E2A758 #D8E258 #93E258
triadic
#D8E258 #58D8E2 #E258D8
tetradic
#D8E258 #58E2A7 #6258E2 #E25893
square
#D8E258 #58E2A7 #6258E2 #E25893
split-complementary
#D8E258 #5893E2 #A758E2
monochromatic
#99A31C #CAD725 #D8E258 #E4EB8C #F0F4C0

Accessibility & contrast

On white

1.41
#D8E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#D8E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E258
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E258#FFFFFF#000000##000000
##D8E2581.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8e258;
/* rgb */ color: rgb(216, 226, 88);
/* oklch */ color: oklch(87.9% 0.160 113.1);
Tailwind
colors: {
  custom: {
    50: '#e7eb8d',
    500: '#d8e258',
    950: '#000000',
  },
}
SCSS
$custom: #d8e258;
$custom-light: #e7eb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e258",
  "rgb": {
    "r": 216,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 64.348,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87938,
    "c": 0.1596,
    "h": 113.1
  },
  "luminance": 0.69696
}

Semantic roles & 50–950 ramp

primary
#D8E258
secondary
#4038A6
accent
#13D221
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8E258

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

Preview Lab → · Contrast checker → · Palette generator →

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