#D5E957#D5E957

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

Color values

HEX#D5E957
RGBrgb(213, 233, 87)
HSLhsl(68, 77%, 63%)
HSVhsv(68, 63%, 91%)
CMYKcmyk(8.6%, 0%, 62.7%, 8.6%)
CIE-LABlab(88.50, -25.61, 66.38)
CIE-LCHlch(88.50, 71.15, 111.09°)
OKLaboklab(89.21% -0.0756 0.1512)
OKLCHoklch(89.21% 0.169 116.6)
XYZxyz(58.3010, 73.1128, 20.0559)
Luminance0.7311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E957 #6B57E9
analogous
#E9B457 #D5E957 #8CE957
triadic
#D5E957 #57D5E9 #E957D5
tetradic
#D5E957 #57E9B4 #6B57E9 #E9578C
square
#D5E957 #57E9B4 #6B57E9 #E9578C
split-complementary
#D5E957 #578CE9 #B457E9
monochromatic
#9AAF17 #C7E221 #D5E957 #E3F08D #F0F7C3

Accessibility & contrast

On white

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

On black

15.62
#D5E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5E957
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5E957#FFFFFF#000000##000000
##D5E9571.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5e957;
/* rgb */ color: rgb(213, 233, 87);
/* oklch */ color: oklch(89.2% 0.169 116.6);
Tailwind
colors: {
  custom: {
    50: '#e5f08d',
    500: '#d5e957',
    950: '#000000',
  },
}
SCSS
$custom: #d5e957;
$custom-light: #e5f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e957",
  "rgb": {
    "r": 213,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 68.219,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.89206,
    "c": 0.16901,
    "h": 116.6
  },
  "luminance": 0.73112
}

Semantic roles & 50–950 ramp

primary
#D5E957
secondary
#4635AF
accent
#0CD928
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D5E957

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

Preview Lab → · Contrast checker → · Palette generator →

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