#D8E170#D8E170

#D8E170 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.0% C 0.138 H 113.0°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#D8E170
RGBrgb(216, 225, 112)
HSLhsl(65, 65%, 66%)
HSVhsv(65, 50%, 88%)
CMYKcmyk(4%, 0%, 50.2%, 11.8%)
CIE-LABlab(86.81, -18.64, 53.66)
CIE-LCHlch(86.81, 56.80, 109.15°)
OKLaboklab(87.98% -0.0537 0.1267)
OKLCHoklch(87.98% 0.138 113)
XYZxyz(58.1698, 69.6202, 25.6998)
Luminance0.6962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E170 #7970E1
analogous
#E1B170 #D8E170 #9FE170
triadic
#D8E170 #70D8E1 #E170D8
tetradic
#D8E170 #70E1B1 #7970E1 #E1709F
square
#D8E170 #70E1B1 #7970E1 #E1709F
split-complementary
#D8E170 #709FE1 #B170E1
monochromatic
#A6B125 #CAD63D #D8E170 #E6ECA3 #F4F6D5

Accessibility & contrast

On white

1.41
#D8E170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#D8E170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E170
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E170#FFFFFF#000000##000000
##D8E1701.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD866
Deuteranopia (green-blind)
#EFDB76
Tritanopia (blue-blind)
#E4D6C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8e170;
/* rgb */ color: rgb(216, 225, 112);
/* oklch */ color: oklch(88.0% 0.138 113.0);
Tailwind
colors: {
  custom: {
    50: '#e6ea9c',
    500: '#d8e170',
    950: '#000000',
  },
}
SCSS
$custom: #d8e170;
$custom-light: #e6ea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e170",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 112
  },
  "hsl": {
    "h": 64.779,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87982,
    "c": 0.13758,
    "h": 113
  },
  "luminance": 0.69619
}

Semantic roles & 50–950 ramp

primary
#D8E170
secondary
#4B43B3
accent
#18CD27
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D8E170

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

Preview Lab → · Contrast checker → · Palette generator →

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