#D8E150#D8E150

#D8E150 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.7% C 0.164 H 112.7°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#D8E150
RGBrgb(216, 225, 80)
HSLhsl(64, 71%, 60%)
HSVhsv(64, 64%, 88%)
CMYKcmyk(4%, 0%, 64.4%, 11.8%)
CIE-LABlab(86.52, -21.00, 67.14)
CIE-LCHlch(86.52, 70.35, 107.37°)
OKLaboklab(87.66% -0.0636 0.1517)
OKLCHoklch(87.66% 0.164 112.7)
XYZxyz(56.6937, 69.0298, 17.9254)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E150 #5950E1
analogous
#E1A150 #D8E150 #90E150
triadic
#D8E150 #50D8E1 #E150D8
tetradic
#D8E150 #50E1A1 #5950E1 #E15090
square
#D8E150 #50E1A1 #5950E1 #E15090
split-complementary
#D8E150 #5090E1 #A150E1
monochromatic
#949C1B #C5D024 #D8E150 #E4EA84 #EFF3B8

Accessibility & contrast

On white

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

On black

14.81
#D8E150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E150
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E150#FFFFFF#000000##000000
##D8E1501.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73C
Deuteranopia (green-blind)
#F1DA5A
Tritanopia (blue-blind)
#E6D4C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8e150;
/* rgb */ color: rgb(216, 225, 80);
/* oklch */ color: oklch(87.7% 0.164 112.7);
Tailwind
colors: {
  custom: {
    50: '#e7ea88',
    500: '#d8e150',
    950: '#000000',
  },
}
SCSS
$custom: #d8e150;
$custom-light: #e7ea88;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e150",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 80
  },
  "hsl": {
    "h": 63.724,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87655,
    "c": 0.16448,
    "h": 112.7
  },
  "luminance": 0.69029
}

Semantic roles & 50–950 ramp

primary
#D8E150
secondary
#3C369F
accent
#3AED45
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E150

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

Preview Lab → · Contrast checker → · Palette generator →

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