#D5E159#D5E159

#D5E159 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.5% C 0.158 H 113.9°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#D5E159
RGBrgb(213, 225, 89)
HSLhsl(65, 69%, 62%)
HSVhsv(65, 60%, 88%)
CMYKcmyk(5.3%, 0%, 60.4%, 11.8%)
CIE-LABlab(86.36, -21.64, 63.27)
CIE-LCHlch(86.36, 66.87, 108.88°)
OKLaboklab(87.5% -0.0643 0.1448)
OKLCHoklch(87.5% 0.158 113.9)
XYZxyz(56.1703, 68.7188, 19.7543)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E159 #6559E1
analogous
#E1A959 #D5E159 #91E159
triadic
#D5E159 #59D5E1 #E159D5
tetradic
#D5E159 #59E1A9 #6559E1 #E15991
square
#D5E159 #59E1A9 #6559E1 #E15991
split-complementary
#D5E159 #5991E1 #A959E1
monochromatic
#97A21D #C7D627 #D5E159 #E2EA8D #EFF4C1

Accessibility & contrast

On white

1.42
#D5E159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#D5E159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E159
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E159#FFFFFF#000000##000000
##D5E1591.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D749
Deuteranopia (green-blind)
#F0D962
Tritanopia (blue-blind)
#E2D5C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d5e159;
/* rgb */ color: rgb(213, 225, 89);
/* oklch */ color: oklch(87.5% 0.158 113.9);
Tailwind
colors: {
  custom: {
    50: '#e5ea8d',
    500: '#d5e159',
    950: '#000000',
  },
}
SCSS
$custom: #d5e159;
$custom-light: #e5ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e159",
  "rgb": {
    "r": 213,
    "g": 225,
    "b": 89
  },
  "hsl": {
    "h": 65.294,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87499,
    "c": 0.15845,
    "h": 113.9
  },
  "luminance": 0.68718
}

Semantic roles & 50–950 ramp

primary
#D5E159
secondary
#4339A5
accent
#14D125
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D5E159

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

Preview Lab → · Contrast checker → · Palette generator →

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