#D8E04B#D8E04B

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

Color values

HEX#D8E04B
RGBrgb(216, 224, 75)
HSLhsl(63, 71%, 59%)
HSVhsv(63, 67%, 88%)
CMYKcmyk(3.6%, 0%, 66.5%, 12.2%)
CIE-LABlab(86.22, -20.81, 68.75)
CIE-LCHlch(86.22, 71.83, 106.84°)
OKLaboklab(87.4% -0.0635 0.1543)
OKLCHoklch(87.4% 0.167 112.4)
XYZxyz(56.2462, 68.4195, 16.8986)
Luminance0.6842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E04B #534BE0
analogous
#E09D4B #D8E04B #8DE04B
triadic
#D8E04B #4BD8E0 #E04BD8
tetradic
#D8E04B #4BE09D #534BE0 #E04B8D
square
#D8E04B #4BE09D #534BE0 #E04B8D
split-complementary
#D8E04B #4B8DE0 #9D4BE0
monochromatic
#90971A #C2CB23 #D8E04B #E3E97F #EFF2B3

Accessibility & contrast

On white

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

On black

14.68
#D8E04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E04B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E04B#FFFFFF#000000##000000
##D8E04B1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8e04b;
/* rgb */ color: rgb(216, 224, 75);
/* oklch */ color: oklch(87.4% 0.167 112.4);
Tailwind
colors: {
  custom: {
    50: '#e7e985',
    500: '#d8e04b',
    950: '#000000',
  },
}
SCSS
$custom: #d8e04b;
$custom-light: #e7e985;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e04b",
  "rgb": {
    "r": 216,
    "g": 224,
    "b": 75
  },
  "hsl": {
    "h": 63.221,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87401,
    "c": 0.16689,
    "h": 112.4
  },
  "luminance": 0.68418
}

Semantic roles & 50–950 ramp

primary
#D8E04B
secondary
#3A349B
accent
#3AED44
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8E04B

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

Preview Lab → · Contrast checker → · Palette generator →

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