#D9E256#D9E256

#D9E256 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.0% C 0.161 H 112.7°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#D9E256
RGBrgb(217, 226, 86)
HSLhsl(64, 71%, 61%)
HSVhsv(64, 62%, 89%)
CMYKcmyk(4%, 0%, 61.9%, 11.4%)
CIE-LABlab(86.91, -20.71, 65.18)
CIE-LCHlch(86.91, 68.39, 107.63°)
OKLaboklab(88% -0.0622 0.1484)
OKLCHoklch(88% 0.161 112.7)
XYZxyz(57.4929, 69.8175, 19.2498)
Luminance0.6982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E256 #5F56E2
analogous
#E2A556 #D9E256 #93E256
triadic
#D9E256 #56D9E2 #E256D9
tetradic
#D9E256 #56E2A5 #5F56E2 #E25693
square
#D9E256 #56E2A5 #5F56E2 #E25693
split-complementary
#D9E256 #5693E2 #A556E2
monochromatic
#99A21C #CBD625 #D9E256 #E5EB8A #F0F4BE

Accessibility & contrast

On white

1.40
#D9E256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#D9E256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E256
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E256#FFFFFF#000000##000000
##D9E2561.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D844
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#E7D5C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d9e256;
/* rgb */ color: rgb(217, 226, 86);
/* oklch */ color: oklch(88.0% 0.161 112.7);
Tailwind
colors: {
  custom: {
    50: '#e8ea8c',
    500: '#d9e256',
    950: '#000000',
  },
}
SCSS
$custom: #d9e256;
$custom-light: #e8ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e256",
  "rgb": {
    "r": 217,
    "g": 226,
    "b": 86
  },
  "hsl": {
    "h": 63.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87999,
    "c": 0.16089,
    "h": 112.7
  },
  "luminance": 0.69816
}

Semantic roles & 50–950 ramp

primary
#D9E256
secondary
#3F38A5
accent
#13D31F
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E256

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

Preview Lab → · Contrast checker → · Palette generator →

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