#D8E75A#D8E75A

#D8E75A is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.0% C 0.164 H 114.9°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#D8E75A
RGBrgb(216, 231, 90)
HSLhsl(66, 75%, 63%)
HSVhsv(66, 61%, 91%)
CMYKcmyk(6.5%, 0%, 61%, 9.4%)
CIE-LABlab(88.20, -23.26, 64.91)
CIE-LCHlch(88.20, 68.95, 109.71°)
OKLaboklab(89.03% -0.0689 0.1484)
OKLCHoklch(89.03% 0.164 114.9)
XYZxyz(58.7416, 72.4899, 20.5684)
Luminance0.7249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E75A #695AE7
analogous
#E7AF5A #D8E75A #91E75A
triadic
#D8E75A #5AD8E7 #E75AD8
tetradic
#D8E75A #5AE7AF #695AE7 #E75A91
square
#D8E75A #5AE7AF #695AE7 #E75A91
split-complementary
#D8E75A #5A91E7 #AF5AE7
monochromatic
#9EAD19 #CBDF25 #D8E75A #E5EF8F #F1F7C5

Accessibility & contrast

On white

1.36
#D8E75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#D8E75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E75A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E75A#FFFFFF#000000##000000
##D8E75A1.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC49
Deuteranopia (green-blind)
#F5DF63
Tritanopia (blue-blind)
#E5DBC9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d8e75a;
/* rgb */ color: rgb(216, 231, 90);
/* oklch */ color: oklch(89.0% 0.164 114.9);
Tailwind
colors: {
  custom: {
    50: '#e7ee8e',
    500: '#d8e75a',
    950: '#000000',
  },
}
SCSS
$custom: #d8e75a;
$custom-light: #e7ee8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e75a",
  "rgb": {
    "r": 216,
    "g": 231,
    "b": 90
  },
  "hsl": {
    "h": 66.383,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89029,
    "c": 0.16359,
    "h": 114.9
  },
  "luminance": 0.72489
}

Semantic roles & 50–950 ramp

primary
#D8E75A
secondary
#4337AE
accent
#0FD724
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8E75A

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

Preview Lab → · Contrast checker → · Palette generator →

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