#D4E257#D4E257

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

Color values

HEX#D4E257
RGBrgb(212, 226, 87)
HSLhsl(66, 71%, 61%)
HSVhsv(66, 62%, 89%)
CMYKcmyk(6.2%, 0%, 61.5%, 11.4%)
CIE-LABlab(86.54, -22.66, 64.27)
CIE-LCHlch(86.54, 68.14, 109.42°)
OKLaboklab(87.62% -0.0673 0.1467)
OKLCHoklch(87.62% 0.161 114.6)
XYZxyz(56.0693, 69.0788, 19.3948)
Luminance0.6908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E257 #6557E2
analogous
#E2AB57 #D4E257 #8FE257
triadic
#D4E257 #57D4E2 #E257D4
tetradic
#D4E257 #57E2AB #6557E2 #E2578F
square
#D4E257 #57E2AB #6557E2 #E2578F
split-complementary
#D4E257 #578FE2 #AB57E2
monochromatic
#95A31C #C5D725 #D4E257 #E1EB8B #EFF4BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E257#FFFFFF#000000##000000
##D4E2571.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)
#F1D746
Deuteranopia (green-blind)
#F0DA60
Tritanopia (blue-blind)
#E1D6C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d4e257;
/* rgb */ color: rgb(212, 226, 87);
/* oklch */ color: oklch(87.6% 0.161 114.6);
Tailwind
colors: {
  custom: {
    50: '#e4eb8c',
    500: '#d4e257',
    950: '#000000',
  },
}
SCSS
$custom: #d4e257;
$custom-light: #e4eb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e257",
  "rgb": {
    "r": 212,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 66.043,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87618,
    "c": 0.1614,
    "h": 114.6
  },
  "luminance": 0.69078
}

Semantic roles & 50–950 ramp

primary
#D4E257
secondary
#4338A5
accent
#13D326
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E257

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

Preview Lab → · Contrast checker → · Palette generator →

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