#D9D256#D9D256

#D9D256 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.144 H 106.0°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#D9D256
RGBrgb(217, 210, 86)
HSLhsl(57, 63%, 59%)
HSVhsv(57, 60%, 85%)
CMYKcmyk(0%, 3.2%, 60.4%, 14.9%)
CIE-LABlab(82.66, -12.81, 60.60)
CIE-LCHlch(82.66, 61.94, 101.94°)
OKLaboklab(84.61% -0.0399 0.1387)
OKLCHoklch(84.61% 0.144 106)
XYZxyz(53.3434, 61.5185, 17.8666)
Luminance0.6152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D256 #565DD9
analogous
#D99156 #D9D256 #9FD956
triadic
#D9D256 #56D9D2 #D256D9
tetradic
#D9D256 #56D991 #565DD9 #D9569F
square
#D9D256 #56D991 #565DD9 #D9569F
split-complementary
#D9D256 #569FD9 #9156D9
monochromatic
#938D21 #C5BD2C #D9D256 #E4DF88 #EFEDBA

Accessibility & contrast

On white

1.58
#D9D256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#D9D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D256
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D256#FFFFFF#000000##000000
##D9D2561.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#E6D05D
Tritanopia (blue-blind)
#E8C5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d256;
/* rgb */ color: rgb(217, 210, 86);
/* oklch */ color: oklch(84.6% 0.144 106.0);
Tailwind
colors: {
  custom: {
    50: '#e8df8b',
    500: '#d9d256',
    950: '#000000',
  },
}
SCSS
$custom: #d9d256;
$custom-light: #e8df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d256",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 56.794,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84607,
    "c": 0.14432,
    "h": 106
  },
  "luminance": 0.61517
}

Semantic roles & 50–950 ramp

primary
#D9D256
secondary
#3B4098
accent
#4AE641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D256

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

Preview Lab → · Contrast checker → · Palette generator →

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