#D8E949#D8E949

#D8E949 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.3% C 0.178 H 115.3°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#D8E949
RGBrgb(216, 233, 73)
HSLhsl(66, 78%, 60%)
HSVhsv(66, 69%, 91%)
CMYKcmyk(7.3%, 0%, 68.7%, 8.6%)
CIE-LABlab(88.62, -25.24, 71.90)
CIE-LCHlch(88.62, 76.20, 109.34°)
OKLaboklab(89.32% -0.0761 0.1606)
OKLCHoklch(89.32% 0.178 115.3)
XYZxyz(58.6619, 73.3587, 17.3714)
Luminance0.7336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E949 #5A49E9
analogous
#E9AA49 #D8E949 #88E949
triadic
#D8E949 #49D8E9 #E949D8
tetradic
#D8E949 #49E9AA #5A49E9 #E94988
square
#D8E949 #49E9AA #5A49E9 #E94988
split-complementary
#D8E949 #4988E9 #AA49E9
monochromatic
#94A414 #C6DA1A #D8E949 #E4F080 #EFF6B6

Accessibility & contrast

On white

1.34
#D8E949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#D8E949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E949
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E949#FFFFFF#000000##000000
##D8E9491.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD2F
Deuteranopia (green-blind)
#F8E055
Tritanopia (blue-blind)
#E6DCC9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d8e949;
/* rgb */ color: rgb(216, 233, 73);
/* oklch */ color: oklch(89.3% 0.178 115.3);
Tailwind
colors: {
  custom: {
    50: '#e8ef85',
    500: '#d8e949',
    950: '#000000',
  },
}
SCSS
$custom: #d8e949;
$custom-light: #e8ef85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e949",
  "rgb": {
    "r": 216,
    "g": 233,
    "b": 73
  },
  "hsl": {
    "h": 66.375,
    "s": 78.431,
    "l": 60
  },
  "oklch": {
    "l": 0.89322,
    "c": 0.17775,
    "h": 115.3
  },
  "luminance": 0.73358
}

Semantic roles & 50–950 ramp

primary
#D8E949
secondary
#3D30A6
accent
#33F547
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8E949

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

Preview Lab → · Contrast checker → · Palette generator →

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