#D8EB5F#D8EB5F

#D8EB5F is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 89.9% C 0.164 H 116.3°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#D8EB5F
RGBrgb(216, 235, 95)
HSLhsl(68, 78%, 65%)
HSVhsv(68, 60%, 92%)
CMYKcmyk(8.1%, 0%, 59.6%, 7.8%)
CIE-LABlab(89.32, -24.82, 64.04)
CIE-LCHlch(89.32, 68.68, 111.19°)
OKLaboklab(89.94% -0.0728 0.1472)
OKLCHoklch(89.94% 0.164 116.3)
XYZxyz(60.0940, 74.8426, 22.1046)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB5F #725FEB
analogous
#EBB85F #D8EB5F #92EB5F
triadic
#D8EB5F #5FD8EB #EB5FD8
tetradic
#D8EB5F #5FEBB8 #725FEB #EB5F92
square
#D8EB5F #5FEBB8 #725FEB #EB5F92
split-complementary
#D8EB5F #5F92EB #B85FEB
monochromatic
#A3B917 #CBE429 #D8EB5F #E5F295 #F3F9CC

Accessibility & contrast

On white

1.32
#D8EB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#D8EB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EB5F
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EB5F#FFFFFF#000000##000000
##D8EB5F1.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE04F
Deuteranopia (green-blind)
#F8E168
Tritanopia (blue-blind)
#E4DFCD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8eb5f;
/* rgb */ color: rgb(216, 235, 95);
/* oklch */ color: oklch(89.9% 0.164 116.3);
Tailwind
colors: {
  custom: {
    50: '#e7f192',
    500: '#d8eb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb5f;
$custom-light: #e7f192;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb5f",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 68.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89936,
    "c": 0.16419,
    "h": 116.3
  },
  "luminance": 0.74842
}

Semantic roles & 50–950 ramp

primary
#D8EB5F
secondary
#4836B8
accent
#0BDA28
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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