#D4E258#D4E258

#D4E258 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.6% C 0.161 H 114.7°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#D4E258
RGBrgb(212, 226, 88)
HSLhsl(66, 70%, 62%)
HSVhsv(66, 61%, 89%)
CMYKcmyk(6.2%, 0%, 61.1%, 11.4%)
CIE-LABlab(86.55, -22.59, 63.86)
CIE-LCHlch(86.55, 67.74, 109.48°)
OKLaboklab(87.63% -0.067 0.146)
OKLCHoklch(87.63% 0.161 114.7)
XYZxyz(56.1105, 69.0953, 19.6115)
Luminance0.6909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E258 #6658E2
analogous
#E2AB58 #D4E258 #8FE258
triadic
#D4E258 #58D4E2 #E258D4
tetradic
#D4E258 #58E2AB #6658E2 #E2588F
square
#D4E258 #58E2AB #6658E2 #E2588F
split-complementary
#D4E258 #588FE2 #AB58E2
monochromatic
#96A31C #C5D725 #D4E258 #E1EB8C #EFF4C0

Accessibility & contrast

On white

1.42
#D4E258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#D4E258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E258
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E258#FFFFFF#000000##000000
##D4E2581.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D747
Deuteranopia (green-blind)
#F0DA61
Tritanopia (blue-blind)
#E1D6C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e258;
/* rgb */ color: rgb(212, 226, 88);
/* oklch */ color: oklch(87.6% 0.161 114.7);
Tailwind
colors: {
  custom: {
    50: '#e4eb8d',
    500: '#d4e258',
    950: '#000000',
  },
}
SCSS
$custom: #d4e258;
$custom-light: #e4eb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e258",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 66.087,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87627,
    "c": 0.16062,
    "h": 114.7
  },
  "luminance": 0.69094
}

Semantic roles & 50–950 ramp

primary
#D4E258
secondary
#4338A6
accent
#13D226
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D4E258

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

Preview Lab → · Contrast checker → · Palette generator →

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