#D8E46B#D8E46B

#D8E46B is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.6% C 0.146 H 114.1°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#D8E46B
RGBrgb(216, 228, 107)
HSLhsl(66, 69%, 66%)
HSVhsv(66, 53%, 89%)
CMYKcmyk(5.3%, 0%, 53.1%, 10.6%)
CIE-LABlab(87.56, -20.53, 56.82)
CIE-LCHlch(87.56, 60.42, 109.86°)
OKLaboklab(88.56% -0.0595 0.1331)
OKLCHoklch(88.56% 0.146 114.1)
XYZxyz(58.7172, 71.1482, 24.5469)
Luminance0.7115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E46B #776BE4
analogous
#E4B36B #D8E46B #9CE46B
triadic
#D8E46B #6BD8E4 #E46BD8
tetradic
#D8E46B #6BE4B3 #776BE4 #E46B9C
square
#D8E46B #6BE4B3 #776BE4 #E46B9C
split-complementary
#D8E46B #6B9CE4 #B36BE4
monochromatic
#A5B421 #CADB37 #D8E46B #E6ED9F #F3F7D3

Accessibility & contrast

On white

1.38
#D8E46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#D8E46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E46B
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E46B#FFFFFF#000000##000000
##D8E46B1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5F
Deuteranopia (green-blind)
#F2DD72
Tritanopia (blue-blind)
#E4D8C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d8e46b;
/* rgb */ color: rgb(216, 228, 107);
/* oklch */ color: oklch(88.6% 0.146 114.1);
Tailwind
colors: {
  custom: {
    50: '#e6ec99',
    500: '#d8e46b',
    950: '#000000',
  },
}
SCSS
$custom: #d8e46b;
$custom-light: #e6ec99;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e46b",
  "rgb": {
    "r": 216,
    "g": 228,
    "b": 107
  },
  "hsl": {
    "h": 65.95,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.88561,
    "c": 0.14577,
    "h": 114.1
  },
  "luminance": 0.71147
}

Semantic roles & 50–950 ramp

primary
#D8E46B
secondary
#4A3FB4
accent
#14D127
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D8E46B

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

Preview Lab → · Contrast checker → · Palette generator →

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