#D5E157#D5E157

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

Color values

HEX#D5E157
RGBrgb(213, 225, 87)
HSLhsl(65, 70%, 61%)
HSVhsv(65, 61%, 88%)
CMYKcmyk(5.3%, 0%, 61.3%, 11.8%)
CIE-LABlab(86.35, -21.77, 64.08)
CIE-LCHlch(86.35, 67.68, 108.77°)
OKLaboklab(87.48% -0.0649 0.1463)
OKLCHoklch(87.48% 0.16 113.9)
XYZxyz(56.0874, 68.6857, 19.3180)
Luminance0.6868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5E157 #6357E1
analogous
#E1A857 #D5E157 #90E157
triadic
#D5E157 #57D5E1 #E157D5
tetradic
#D5E157 #57E1A8 #6357E1 #E15790
square
#D5E157 #57E1A8 #6357E1 #E15790
split-complementary
#D5E157 #5790E1 #A857E1
monochromatic
#95A11D #C6D526 #D5E157 #E2EA8B #EFF4BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5E157#FFFFFF#000000##000000
##D5E1571.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)
#F0D746
Deuteranopia (green-blind)
#F0D960
Tritanopia (blue-blind)
#E2D5C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d5e157;
/* rgb */ color: rgb(213, 225, 87);
/* oklch */ color: oklch(87.5% 0.160 113.9);
Tailwind
colors: {
  custom: {
    50: '#e5ea8c',
    500: '#d5e157',
    950: '#000000',
  },
}
SCSS
$custom: #d5e157;
$custom-light: #e5ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5e157",
  "rgb": {
    "r": 213,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 65.217,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8748,
    "c": 0.16002,
    "h": 113.9
  },
  "luminance": 0.68685
}

Semantic roles & 50–950 ramp

primary
#D5E157
secondary
#4238A4
accent
#14D224
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5E157

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

Preview Lab → · Contrast checker → · Palette generator →

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