#D9E056#D9E056

#D9E056 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.6% C 0.159 H 112.0°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#D9E056
RGBrgb(217, 224, 86)
HSLhsl(63, 69%, 61%)
HSVhsv(63, 62%, 88%)
CMYKcmyk(3.1%, 0%, 61.6%, 12.2%)
CIE-LABlab(86.37, -19.74, 64.61)
CIE-LCHlch(86.37, 67.55, 106.99°)
OKLaboklab(87.57% -0.0595 0.1472)
OKLCHoklch(87.57% 0.159 112)
XYZxyz(56.9522, 68.7362, 19.0696)
Luminance0.6874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E056 #5D56E0
analogous
#E0A256 #D9E056 #94E056
triadic
#D9E056 #56D9E0 #E056D9
tetradic
#D9E056 #56E0A2 #5D56E0 #E05694
square
#D9E056 #56E0A2 #5D56E0 #E05694
split-complementary
#D9E056 #5694E0 #A256E0
monochromatic
#989F1D #CAD227 #D9E056 #E5E98A #F0F3BD

Accessibility & contrast

On white

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

On black

14.75
#D9E056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E056
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E056#FFFFFF#000000##000000
##D9E0561.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D645
Deuteranopia (green-blind)
#F0DA5F
Tritanopia (blue-blind)
#E7D3C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d9e056;
/* rgb */ color: rgb(217, 224, 86);
/* oklch */ color: oklch(87.6% 0.159 112.0);
Tailwind
colors: {
  custom: {
    50: '#e8e98c',
    500: '#d9e056',
    950: '#000000',
  },
}
SCSS
$custom: #d9e056;
$custom-light: #e8e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e056",
  "rgb": {
    "r": 217,
    "g": 224,
    "b": 86
  },
  "hsl": {
    "h": 63.043,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87572,
    "c": 0.15874,
    "h": 112
  },
  "luminance": 0.68735
}

Semantic roles & 50–950 ramp

primary
#D9E056
secondary
#3E38A2
accent
#15D11E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D9E056

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

Preview Lab → · Contrast checker → · Palette generator →

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