#D9E157#D9E157

#D9E157 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.8% C 0.159 H 112.4°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#D9E157
RGBrgb(217, 225, 87)
HSLhsl(63, 70%, 61%)
HSVhsv(63, 61%, 88%)
CMYKcmyk(3.6%, 0%, 61.3%, 11.8%)
CIE-LABlab(86.65, -20.16, 64.49)
CIE-LCHlch(86.65, 67.57, 107.36°)
OKLaboklab(87.79% -0.0605 0.1471)
OKLCHoklch(87.79% 0.159 112.4)
XYZxyz(57.2623, 69.2915, 19.3731)
Luminance0.6929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E157 #5F57E1
analogous
#E1A457 #D9E157 #94E157
triadic
#D9E157 #57D9E1 #E157D9
tetradic
#D9E157 #57E1A4 #5F57E1 #E15794
square
#D9E157 #57E1A4 #5F57E1 #E15794
split-complementary
#D9E157 #5794E1 #A457E1
monochromatic
#99A11D #CBD526 #D9E157 #E5EA8B #F0F4BF

Accessibility & contrast

On white

1.41
#D9E157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#D9E157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E157
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E157#FFFFFF#000000##000000
##D9E1571.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D746
Deuteranopia (green-blind)
#F1DB60
Tritanopia (blue-blind)
#E7D4C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d9e157;
/* rgb */ color: rgb(217, 225, 87);
/* oklch */ color: oklch(87.8% 0.159 112.4);
Tailwind
colors: {
  custom: {
    50: '#e8ea8c',
    500: '#d9e157',
    950: '#000000',
  },
}
SCSS
$custom: #d9e157;
$custom-light: #e8ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e157",
  "rgb": {
    "r": 217,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 63.478,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87794,
    "c": 0.15905,
    "h": 112.4
  },
  "luminance": 0.6929
}

Semantic roles & 50–950 ramp

primary
#D9E157
secondary
#3F38A4
accent
#14D21F
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E157

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

Preview Lab → · Contrast checker → · Palette generator →

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