#D8E75F#D8E75F

#D8E75F is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.1% C 0.160 H 115.0°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#D8E75F
RGBrgb(216, 231, 95)
HSLhsl(67, 74%, 64%)
HSVhsv(67, 59%, 91%)
CMYKcmyk(6.5%, 0%, 58.9%, 9.4%)
CIE-LABlab(88.25, -22.91, 62.86)
CIE-LCHlch(88.25, 66.91, 110.02°)
OKLaboklab(89.08% -0.0674 0.1447)
OKLCHoklch(89.08% 0.16 115)
XYZxyz(58.9616, 72.5779, 21.7271)
Luminance0.7258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E75F #6E5FE7
analogous
#E7B25F #D8E75F #94E75F
triadic
#D8E75F #5FD8E7 #E75FD8
tetradic
#D8E75F #5FE7B2 #6E5FE7 #E75F94
square
#D8E75F #5FE7B2 #6E5FE7 #E75F94
split-complementary
#D8E75F #5F94E7 #B25FE7
monochromatic
#A0B11B #CBDF2A #D8E75F #E5EF94 #F2F7C9

Accessibility & contrast

On white

1.35
#D8E75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#D8E75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E75F
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E75F#FFFFFF#000000##000000
##D8E75F1.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC50
Deuteranopia (green-blind)
#F5DF68
Tritanopia (blue-blind)
#E5DBCA
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d8e75f;
/* rgb */ color: rgb(216, 231, 95);
/* oklch */ color: oklch(89.1% 0.160 115.0);
Tailwind
colors: {
  custom: {
    50: '#e7ee91',
    500: '#d8e75f',
    950: '#000000',
  },
}
SCSS
$custom: #d8e75f;
$custom-light: #e7ee91;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e75f",
  "rgb": {
    "r": 216,
    "g": 231,
    "b": 95
  },
  "hsl": {
    "h": 66.618,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89076,
    "c": 0.15961,
    "h": 115
  },
  "luminance": 0.72577
}

Semantic roles & 50–950 ramp

primary
#D8E75F
secondary
#4639B2
accent
#0FD625
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8E75F

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

Preview Lab → · Contrast checker → · Palette generator →

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