#D9D161#D9D161

#D9D161 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.5% C 0.134 H 105.2°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D9D161
RGBrgb(217, 209, 97)
HSLhsl(56, 61%, 62%)
HSVhsv(56, 55%, 85%)
CMYKcmyk(0%, 3.7%, 55.3%, 14.9%)
CIE-LABlab(82.50, -11.52, 55.56)
CIE-LCHlch(82.50, 56.75, 101.72°)
OKLaboklab(84.51% -0.035 0.1293)
OKLCHoklch(84.51% 0.134 105.2)
XYZxyz(53.5750, 61.2174, 20.3010)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D161 #6169D9
analogous
#D99561 #D9D161 #A5D961
triadic
#D9D161 #61D9D1 #D161D9
tetradic
#D9D161 #61D995 #6169D9 #D961A5
square
#D9D161 #61D995 #6169D9 #D961A5
split-complementary
#D9D161 #61A5D9 #9561D9
monochromatic
#9A9325 #CCC131 #D9D161 #E5DF92 #F1EEC4

Accessibility & contrast

On white

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

On black

13.24
#D9D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D161
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D161#FFFFFF#000000##000000
##D9D1611.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA56
Deuteranopia (green-blind)
#E4D067
Tritanopia (blue-blind)
#E7C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d161;
/* rgb */ color: rgb(217, 209, 97);
/* oklch */ color: oklch(84.5% 0.134 105.2);
Tailwind
colors: {
  custom: {
    50: '#e7de91',
    500: '#d9d161',
    950: '#000000',
  },
}
SCSS
$custom: #d9d161;
$custom-light: #e7de91;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d161",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 56,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84512,
    "c": 0.13395,
    "h": 105.2
  },
  "luminance": 0.61216
}

Semantic roles & 50–950 ramp

primary
#D9D161
secondary
#3F469F
accent
#28C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D161

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

Preview Lab → · Contrast checker → · Palette generator →

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