#D8E862#D8E862

#D8E862 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.3% C 0.158 H 115.4°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#D8E862
RGBrgb(216, 232, 98)
HSLhsl(67, 74%, 65%)
HSVhsv(67, 58%, 91%)
CMYKcmyk(6.9%, 0%, 57.8%, 9%)
CIE-LABlab(88.54, -23.17, 61.91)
CIE-LCHlch(88.54, 66.10, 110.52°)
OKLaboklab(89.32% -0.0679 0.143)
OKLCHoklch(89.32% 0.158 115.4)
XYZxyz(59.3813, 73.1948, 22.5528)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E862 #7262E8
analogous
#E8B562 #D8E862 #95E862
triadic
#D8E862 #62D8E8 #E862D8
tetradic
#D8E862 #62E8B5 #7262E8 #E86295
square
#D8E862 #62E8B5 #7262E8 #E86295
split-complementary
#D8E862 #6295E8 #B562E8
monochromatic
#A3B51B #CBE02D #D8E862 #E5F097 #F3F8CD

Accessibility & contrast

On white

1.34
#D8E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#D8E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E862
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E862#FFFFFF#000000##000000
##D8E8621.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD53
Deuteranopia (green-blind)
#F6DF6A
Tritanopia (blue-blind)
#E4DCCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d8e862;
/* rgb */ color: rgb(216, 232, 98);
/* oklch */ color: oklch(89.3% 0.158 115.4);
Tailwind
colors: {
  custom: {
    50: '#e7ef93',
    500: '#d8e862',
    950: '#000000',
  },
}
SCSS
$custom: #d8e862;
$custom-light: #e7ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e862",
  "rgb": {
    "r": 216,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 67.164,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89321,
    "c": 0.15828,
    "h": 115.4
  },
  "luminance": 0.73194
}

Semantic roles & 50–950 ramp

primary
#D8E862
secondary
#4839B5
accent
#0FD727
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D8E862

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

Preview Lab → · Contrast checker → · Palette generator →

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