#D5E158#D5E158

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

Color values

HEX#D5E158
RGBrgb(213, 225, 88)
HSLhsl(65, 70%, 61%)
HSVhsv(65, 61%, 88%)
CMYKcmyk(5.3%, 0%, 60.9%, 11.8%)
CIE-LABlab(86.36, -21.70, 63.68)
CIE-LCHlch(86.36, 67.27, 108.82°)
OKLaboklab(87.49% -0.0646 0.1456)
OKLCHoklch(87.49% 0.159 113.9)
XYZxyz(56.1286, 68.7021, 19.5347)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E158 #6458E1
analogous
#E1A858 #D5E158 #91E158
triadic
#D5E158 #58D5E1 #E158D5
tetradic
#D5E158 #58E1A8 #6458E1 #E15891
square
#D5E158 #58E1A8 #6458E1 #E15891
split-complementary
#D5E158 #5891E1 #A858E1
monochromatic
#96A21D #C6D526 #D5E158 #E2EA8C #EFF4C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5E158#FFFFFF#000000##000000
##D5E1581.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)
#F0D747
Deuteranopia (green-blind)
#F0D961
Tritanopia (blue-blind)
#E2D5C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d5e158;
/* rgb */ color: rgb(213, 225, 88);
/* oklch */ color: oklch(87.5% 0.159 113.9);
Tailwind
colors: {
  custom: {
    50: '#e5ea8d',
    500: '#d5e158',
    950: '#000000',
  },
}
SCSS
$custom: #d5e158;
$custom-light: #e5ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e158",
  "rgb": {
    "r": 213,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 65.255,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8749,
    "c": 0.15924,
    "h": 113.9
  },
  "luminance": 0.68701
}

Semantic roles & 50–950 ramp

primary
#D5E158
secondary
#4239A4
accent
#14D225
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D5E158

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

Preview Lab → · Contrast checker → · Palette generator →

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