#D8E340#D8E340

#D8E340 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.0% C 0.177 H 113.4°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#D8E340
RGBrgb(216, 227, 64)
HSLhsl(64, 74%, 57%)
HSVhsv(64, 72%, 89%)
CMYKcmyk(4.8%, 0%, 71.8%, 11%)
CIE-LABlab(86.95, -22.82, 73.40)
CIE-LCHlch(86.95, 76.86, 107.27°)
OKLaboklab(87.97% -0.0701 0.1623)
OKLCHoklch(87.97% 0.177 113.4)
XYZxyz(56.7151, 69.9085, 15.3555)
Luminance0.6991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E340 #4B40E3
analogous
#E39D40 #D8E340 #87E340
triadic
#D8E340 #40D8E3 #E340D8
tetradic
#D8E340 #40E39D #4B40E3 #E34087
square
#D8E340 #40E39D #4B40E3 #E34087
split-complementary
#D8E340 #4087E3 #9D40E3
monochromatic
#8B9316 #BDC81D #D8E340 #E3EB75 #EEF3AB

Accessibility & contrast

On white

1.40
#D8E340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#D8E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E340
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E340#FFFFFF#000000##000000
##D8E3401.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D820
Deuteranopia (green-blind)
#F4DB4D
Tritanopia (blue-blind)
#E6D5C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d8e340;
/* rgb */ color: rgb(216, 227, 64);
/* oklch */ color: oklch(88.0% 0.177 113.4);
Tailwind
colors: {
  custom: {
    50: '#e8eb80',
    500: '#d8e340',
    950: '#000000',
  },
}
SCSS
$custom: #d8e340;
$custom-light: #e8eb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e340",
  "rgb": {
    "r": 216,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 64.049,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.87969,
    "c": 0.17684,
    "h": 113.4
  },
  "luminance": 0.69907
}

Semantic roles & 50–950 ramp

primary
#D8E340
secondary
#373097
accent
#37F143
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #D8E340

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

Preview Lab → · Contrast checker → · Palette generator →

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