#D5E958#D5E958

#D5E958 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.2% C 0.168 H 116.6°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#D5E958
RGBrgb(213, 233, 88)
HSLhsl(68, 77%, 63%)
HSVhsv(68, 62%, 91%)
CMYKcmyk(8.6%, 0%, 62.2%, 8.6%)
CIE-LABlab(88.51, -25.54, 65.99)
CIE-LCHlch(88.51, 70.76, 111.16°)
OKLaboklab(89.22% -0.0753 0.1505)
OKLCHoklch(89.22% 0.168 116.6)
XYZxyz(58.3421, 73.1293, 20.2725)
Luminance0.7313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E958 #6C58E9
analogous
#E9B558 #D5E958 #8CE958
triadic
#D5E958 #58D5E9 #E958D5
tetradic
#D5E958 #58E9B5 #6C58E9 #E9588C
square
#D5E958 #58E9B5 #6C58E9 #E9588C
split-complementary
#D5E958 #588CE9 #B558E9
monochromatic
#9AAF17 #C7E222 #D5E958 #E3F08E #F0F7C4

Accessibility & contrast

On white

1.34
#D5E958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#D5E958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E958
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E958#FFFFFF#000000##000000
##D5E9581.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD46
Deuteranopia (green-blind)
#F6DF62
Tritanopia (blue-blind)
#E1DDCB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d5e958;
/* rgb */ color: rgb(213, 233, 88);
/* oklch */ color: oklch(89.2% 0.168 116.6);
Tailwind
colors: {
  custom: {
    50: '#e5f08d',
    500: '#d5e958',
    950: '#000000',
  },
}
SCSS
$custom: #d5e958;
$custom-light: #e5f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e958",
  "rgb": {
    "r": 213,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 68.276,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89215,
    "c": 0.16826,
    "h": 116.6
  },
  "luminance": 0.73129
}

Semantic roles & 50–950 ramp

primary
#D5E958
secondary
#4635B0
accent
#0DD929
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D5E958

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

Preview Lab → · Contrast checker → · Palette generator →

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