#D4E057#D4E057

#D4E057 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.2% C 0.159 H 113.9°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#D4E057
RGBrgb(212, 224, 87)
HSLhsl(65, 69%, 61%)
HSVhsv(65, 61%, 88%)
CMYKcmyk(5.4%, 0%, 61.2%, 12.2%)
CIE-LABlab(86.01, -21.69, 63.69)
CIE-LCHlch(86.01, 67.28, 108.81°)
OKLaboklab(87.19% -0.0646 0.1455)
OKLCHoklch(87.19% 0.159 113.9)
XYZxyz(55.5287, 67.9975, 19.2146)
Luminance0.6800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E057 #6357E0
analogous
#E0A757 #D4E057 #90E057
triadic
#D4E057 #57D4E0 #E057D4
tetradic
#D4E057 #57E0A7 #6357E0 #E05790
square
#D4E057 #57E0A7 #6357E0 #E05790
split-complementary
#D4E057 #5790E0 #A757E0
monochromatic
#949F1D #C4D327 #D4E057 #E1EA8B #EEF3BE

Accessibility & contrast

On white

1.44
#D4E057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#D4E057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E057
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E057#FFFFFF#000000##000000
##D4E0571.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD646
Deuteranopia (green-blind)
#EFD860
Tritanopia (blue-blind)
#E1D4C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d4e057;
/* rgb */ color: rgb(212, 224, 87);
/* oklch */ color: oklch(87.2% 0.159 113.9);
Tailwind
colors: {
  custom: {
    50: '#e4e98c',
    500: '#d4e057',
    950: '#000000',
  },
}
SCSS
$custom: #d4e057;
$custom-light: #e4e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e057",
  "rgb": {
    "r": 212,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 65.255,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87187,
    "c": 0.15917,
    "h": 113.9
  },
  "luminance": 0.67996
}

Semantic roles & 50–950 ramp

primary
#D4E057
secondary
#4239A2
accent
#15D125
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4E057

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

Preview Lab → · Contrast checker → · Palette generator →

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