#D8E045#D8E045

#D8E045 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.4% C 0.171 H 112.4°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#D8E045
RGBrgb(216, 224, 69)
HSLhsl(63, 71%, 57%)
HSVhsv(63, 69%, 88%)
CMYKcmyk(3.6%, 0%, 69.2%, 12.2%)
CIE-LABlab(86.18, -21.12, 70.92)
CIE-LCHlch(86.18, 74.00, 106.59°)
OKLaboklab(87.36% -0.065 0.1579)
OKLCHoklch(87.36% 0.171 112.4)
XYZxyz(56.0505, 68.3412, 15.8676)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E045 #4D45E0
analogous
#E09B45 #D8E045 #8AE045
triadic
#D8E045 #45D8E0 #E045D8
tetradic
#D8E045 #45E09B #4D45E0 #E0458A
square
#D8E045 #45E09B #4D45E0 #E0458A
split-complementary
#D8E045 #458AE0 #9B45E0
monochromatic
#8C9218 #BEC721 #D8E045 #E3E979 #EEF1AE

Accessibility & contrast

On white

1.43
#D8E045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#D8E045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E045
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E045#FFFFFF#000000##000000
##D8E0451.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D62B
Deuteranopia (green-blind)
#F1D951
Tritanopia (blue-blind)
#E6D3C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8e045;
/* rgb */ color: rgb(216, 224, 69);
/* oklch */ color: oklch(87.4% 0.171 112.4);
Tailwind
colors: {
  custom: {
    50: '#e8e982',
    500: '#d8e045',
    950: '#000000',
  },
}
SCSS
$custom: #d8e045;
$custom-light: #e8e982;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e045",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 69
  },
  "hsl": {
    "h": 63.097,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.87358,
    "c": 0.17077,
    "h": 112.4
  },
  "luminance": 0.6834
}

Semantic roles & 50–950 ramp

primary
#D8E045
secondary
#373297
accent
#3AEE43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D8E045

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

Preview Lab → · Contrast checker → · Palette generator →

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