#D9E156#D9E156

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

Color values

HEX#D9E156
RGBrgb(217, 225, 86)
HSLhsl(63, 70%, 61%)
HSVhsv(63, 62%, 88%)
CMYKcmyk(3.6%, 0%, 61.8%, 11.8%)
CIE-LABlab(86.64, -20.22, 64.89)
CIE-LCHlch(86.64, 67.97, 107.31°)
OKLaboklab(87.79% -0.0608 0.1478)
OKLCHoklch(87.79% 0.16 112.4)
XYZxyz(57.2217, 69.2753, 19.1594)
Luminance0.6927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E156 #5E56E1
analogous
#E1A356 #D9E156 #93E156
triadic
#D9E156 #56D9E1 #E156D9
tetradic
#D9E156 #56E1A3 #5E56E1 #E15693
square
#D9E156 #56E1A3 #5E56E1 #E15693
split-complementary
#D9E156 #5693E1 #A356E1
monochromatic
#99A01C #CAD426 #D9E156 #E5EA8A #F0F3BE

Accessibility & contrast

On white

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

On black

14.85
#D9E156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E156
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E156#FFFFFF#000000##000000
##D9E1561.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9e156;
/* rgb */ color: rgb(217, 225, 86);
/* oklch */ color: oklch(87.8% 0.160 112.4);
Tailwind
colors: {
  custom: {
    50: '#e8ea8c',
    500: '#d9e156',
    950: '#000000',
  },
}
SCSS
$custom: #d9e156;
$custom-light: #e8ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e156",
  "rgb": {
    "r": 217,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 63.453,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87785,
    "c": 0.15981,
    "h": 112.4
  },
  "luminance": 0.69274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9E156

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

Preview Lab → · Contrast checker → · Palette generator →

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