#D8E058#D8E058

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

Color values

HEX#D8E058
RGBrgb(216, 224, 88)
HSLhsl(64, 69%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(3.6%, 0%, 60.7%, 12.2%)
CIE-LABlab(86.31, -20.01, 63.70)
CIE-LCHlch(86.31, 66.76, 107.44°)
OKLaboklab(87.51% -0.06 0.1455)
OKLCHoklch(87.51% 0.157 112.4)
XYZxyz(56.7375, 68.6160, 19.4860)
Luminance0.6862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E058 #6058E0
analogous
#E0A458 #D8E058 #94E058
triadic
#D8E058 #58D8E0 #E058D8
tetradic
#D8E058 #58E0A4 #6058E0 #E05894
square
#D8E058 #58E0A4 #6058E0 #E05894
split-complementary
#D8E058 #5894E0 #A458E0
monochromatic
#98A01E #C9D427 #D8E058 #E4EA8C #F0F3BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8E058#FFFFFF#000000##000000
##D8E0581.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)
#F0D648
Deuteranopia (green-blind)
#F0DA61
Tritanopia (blue-blind)
#E6D3C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8e058;
/* rgb */ color: rgb(216, 224, 88);
/* oklch */ color: oklch(87.5% 0.157 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e98d',
    500: '#d8e058',
    950: '#000000',
  },
}
SCSS
$custom: #d8e058;
$custom-light: #e7e98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e058",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 88
  },
  "hsl": {
    "h": 63.529,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87511,
    "c": 0.15742,
    "h": 112.4
  },
  "luminance": 0.68615
}

Semantic roles & 50–950 ramp

primary
#D8E058
secondary
#3F39A3
accent
#15D120
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8E058

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

Preview Lab → · Contrast checker → · Palette generator →

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