#D9D167#D9D167

#D9D167 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.6% C 0.128 H 104.9°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D9D167
RGBrgb(217, 209, 103)
HSLhsl(56, 60%, 63%)
HSVhsv(56, 53%, 85%)
CMYKcmyk(0%, 3.7%, 52.5%, 14.9%)
CIE-LABlab(82.56, -11.05, 52.87)
CIE-LCHlch(82.56, 54.01, 101.80°)
OKLaboklab(84.58% -0.033 0.1241)
OKLCHoklch(84.58% 0.128 104.9)
XYZxyz(53.8655, 61.3336, 21.8305)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D167 #676FD9
analogous
#D99867 #D9D167 #A8D967
triadic
#D9D167 #67D9D1 #D167D9
tetradic
#D9D167 #67D998 #676FD9 #D967A8
square
#D9D167 #67D998 #676FD9 #D967A8
split-complementary
#D9D167 #67A8D9 #9867D9
monochromatic
#9E9628 #CDC236 #D9D167 #E5E098 #F1EFC9

Accessibility & contrast

On white

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

On black

13.27
#D9D167 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D167
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D167#FFFFFF#000000##000000
##D9D1671.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB5D
Deuteranopia (green-blind)
#E4D06C
Tritanopia (blue-blind)
#E7C5B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d167;
/* rgb */ color: rgb(217, 209, 103);
/* oklch */ color: oklch(84.6% 0.128 104.9);
Tailwind
colors: {
  custom: {
    50: '#e7de95',
    500: '#d9d167',
    950: '#000000',
  },
}
SCSS
$custom: #d9d167;
$custom-light: #e7de95;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d167",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 103
  },
  "hsl": {
    "h": 55.789,
    "s": 60,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84581,
    "c": 0.12842,
    "h": 104.9
  },
  "luminance": 0.61332
}

Semantic roles & 50–950 ramp

primary
#D9D167
secondary
#4249A2
accent
#2AC81E
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D9D167

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

Preview Lab → · Contrast checker → · Palette generator →

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