#D8E057#D8E057

#D8E057 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.5% C 0.158 H 112.4°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#D8E057
RGBrgb(216, 224, 87)
HSLhsl(64, 69%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(3.6%, 0%, 61.2%, 12.2%)
CIE-LABlab(86.31, -20.07, 64.10)
CIE-LCHlch(86.31, 67.17, 107.39°)
OKLaboklab(87.5% -0.0603 0.1463)
OKLCHoklch(87.5% 0.158 112.4)
XYZxyz(56.6964, 68.5996, 19.2694)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E057 #5F57E0
analogous
#E0A357 #D8E057 #93E057
triadic
#D8E057 #57D8E0 #E057D8
tetradic
#D8E057 #57E0A3 #5F57E0 #E05793
square
#D8E057 #57E0A3 #5F57E0 #E05793
split-complementary
#D8E057 #5793E0 #A357E0
monochromatic
#989F1D #C9D327 #D8E057 #E4EA8B #F0F3BE

Accessibility & contrast

On white

1.43
#D8E057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#D8E057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E057
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E057#FFFFFF#000000##000000
##D8E0571.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D646
Deuteranopia (green-blind)
#F0DA60
Tritanopia (blue-blind)
#E6D3C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8e057;
/* rgb */ color: rgb(216, 224, 87);
/* oklch */ color: oklch(87.5% 0.158 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e98c',
    500: '#d8e057',
    950: '#000000',
  },
}
SCSS
$custom: #d8e057;
$custom-light: #e7e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e057",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 63.504,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87502,
    "c": 0.15819,
    "h": 112.4
  },
  "luminance": 0.68598
}

Semantic roles & 50–950 ramp

primary
#D8E057
secondary
#3F39A2
accent
#15D120
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E057

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

Preview Lab → · Contrast checker → · Palette generator →

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