#D9D156#D9D156

#D9D156 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.4% C 0.143 H 105.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D9D156
RGBrgb(217, 209, 86)
HSLhsl(56, 63%, 59%)
HSVhsv(56, 60%, 85%)
CMYKcmyk(0%, 3.7%, 60.4%, 14.9%)
CIE-LABlab(82.39, -12.31, 60.32)
CIE-LCHlch(82.39, 61.56, 101.54°)
OKLaboklab(84.4% -0.0385 0.1381)
OKLCHoklch(84.4% 0.143 105.6)
XYZxyz(53.0973, 61.0263, 17.7846)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D156 #565ED9
analogous
#D99056 #D9D156 #A0D956
triadic
#D9D156 #56D9D1 #D156D9
tetradic
#D9D156 #56D990 #565ED9 #D956A0
square
#D9D156 #56D990 #565ED9 #D956A0
split-complementary
#D9D156 #56A0D9 #9056D9
monochromatic
#938C21 #C5BC2C #D9D156 #E4DF88 #EFECBA

Accessibility & contrast

On white

1.59
#D9D156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#D9D156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D156
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D156#FFFFFF#000000##000000
##D9D1561.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA48
Deuteranopia (green-blind)
#E5D05D
Tritanopia (blue-blind)
#E8C4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d156;
/* rgb */ color: rgb(217, 209, 86);
/* oklch */ color: oklch(84.4% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#e8de8a',
    500: '#d9d156',
    950: '#000000',
  },
}
SCSS
$custom: #d9d156;
$custom-light: #e8de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d156",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 56.336,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84397,
    "c": 0.14335,
    "h": 105.6
  },
  "luminance": 0.61025
}

Semantic roles & 50–950 ramp

primary
#D9D156
secondary
#3B4198
accent
#4CE641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D156

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

Preview Lab → · Contrast checker → · Palette generator →

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