#D8E146#D8E146

#D8E146 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.6% C 0.171 H 112.7°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#D8E146
RGBrgb(216, 225, 70)
HSLhsl(63, 72%, 58%)
HSVhsv(63, 69%, 88%)
CMYKcmyk(4%, 0%, 68.9%, 11.8%)
CIE-LABlab(86.45, -21.56, 70.83)
CIE-LCHlch(86.45, 74.04, 106.93°)
OKLaboklab(87.58% -0.0661 0.1579)
OKLCHoklch(87.58% 0.171 112.7)
XYZxyz(56.3513, 68.8928, 16.1223)
Luminance0.6889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E146 #4F46E1
analogous
#E19D46 #D8E146 #8AE146
triadic
#D8E146 #46D8E1 #E146D8
tetradic
#D8E146 #46E19D #4F46E1 #E1468A
square
#D8E146 #46E19D #4F46E1 #E1468A
split-complementary
#D8E146 #468AE1 #9D46E1
monochromatic
#8D9518 #BFC921 #D8E146 #E3EA7B #EEF2AF

Accessibility & contrast

On white

1.42
#D8E146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#D8E146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E146
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E146#FFFFFF#000000##000000
##D8E1461.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D72C
Deuteranopia (green-blind)
#F2DA52
Tritanopia (blue-blind)
#E6D4C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8e146;
/* rgb */ color: rgb(216, 225, 70);
/* oklch */ color: oklch(87.6% 0.171 112.7);
Tailwind
colors: {
  custom: {
    50: '#e8ea83',
    500: '#d8e146',
    950: '#000000',
  },
}
SCSS
$custom: #d8e146;
$custom-light: #e8ea83;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e146",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 70
  },
  "hsl": {
    "h": 63.484,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.87579,
    "c": 0.17118,
    "h": 112.7
  },
  "luminance": 0.68892
}

Semantic roles & 50–950 ramp

primary
#D8E146
secondary
#383299
accent
#39EF44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D8E146

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

Preview Lab → · Contrast checker → · Palette generator →

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