#D8E148#D8E148

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

Color values

HEX#D8E148
RGBrgb(216, 225, 72)
HSLhsl(64, 72%, 58%)
HSVhsv(64, 68%, 88%)
CMYKcmyk(4%, 0%, 68%, 11.8%)
CIE-LABlab(86.46, -21.45, 70.12)
CIE-LCHlch(86.46, 73.33, 107.01°)
OKLaboklab(87.59% -0.0656 0.1567)
OKLCHoklch(87.59% 0.17 112.7)
XYZxyz(56.4155, 68.9185, 16.4604)
Luminance0.6892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E148 #5148E1
analogous
#E19D48 #D8E148 #8CE148
triadic
#D8E148 #48D8E1 #E148D8
tetradic
#D8E148 #48E19D #5148E1 #E1488C
square
#D8E148 #48E19D #5148E1 #E1488C
split-complementary
#D8E148 #488CE1 #9D48E1
monochromatic
#8F9619 #C1CB21 #D8E148 #E3EA7D #EEF2B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8E148#FFFFFF#000000##000000
##D8E1481.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)
#F2D730
Deuteranopia (green-blind)
#F2DA53
Tritanopia (blue-blind)
#E6D4C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8e148;
/* rgb */ color: rgb(216, 225, 72);
/* oklch */ color: oklch(87.6% 0.170 112.7);
Tailwind
colors: {
  custom: {
    50: '#e7ea84',
    500: '#d8e148',
    950: '#000000',
  },
}
SCSS
$custom: #d8e148;
$custom-light: #e7ea84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e148",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 72
  },
  "hsl": {
    "h": 63.529,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.87593,
    "c": 0.16991,
    "h": 112.7
  },
  "luminance": 0.68917
}

Semantic roles & 50–950 ramp

primary
#D8E148
secondary
#39339A
accent
#39EF44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D8E148

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

Preview Lab → · Contrast checker → · Palette generator →

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