#D9C367#D9C367

#D9C367 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.115 H 96.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D9C367
RGBrgb(217, 195, 103)
HSLhsl(48, 60%, 63%)
HSVhsv(48, 53%, 85%)
CMYKcmyk(0%, 10.1%, 52.5%, 14.9%)
CIE-LABlab(78.90, -3.89, 48.56)
CIE-LCHlch(78.90, 48.72, 94.58°)
OKLaboklab(81.68% -0.0124 0.1147)
OKLCHoklch(81.68% 0.115 96.2)
XYZxyz(50.5803, 54.7633, 20.7354)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C367 #677DD9
analogous
#D98A67 #D9C367 #B6D967
triadic
#D9C367 #67D9C3 #C367D9
tetradic
#D9C367 #67D98A #677DD9 #D967B6
square
#D9C367 #67D98A #677DD9 #D967B6
split-complementary
#D9C367 #67B6D9 #8A67D9
monochromatic
#9E8728 #CDB036 #D9C367 #E5D698 #F1EAC9

Accessibility & contrast

On white

1.76
#D9C367 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#D9C367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C367
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C367#FFFFFF#000000##000000
##D9C3671.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5F
Deuteranopia (green-blind)
#D9C66B
Tritanopia (blue-blind)
#E8B7AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c367;
/* rgb */ color: rgb(217, 195, 103);
/* oklch */ color: oklch(81.7% 0.115 96.2);
Tailwind
colors: {
  custom: {
    50: '#e7d495',
    500: '#d9c367',
    950: '#000000',
  },
}
SCSS
$custom: #d9c367;
$custom-light: #e7d495;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c367",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 103
  },
  "hsl": {
    "h": 48.421,
    "s": 60,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81684,
    "c": 0.11541,
    "h": 96.2
  },
  "luminance": 0.54761
}

Semantic roles & 50–950 ramp

primary
#D9C367
secondary
#4255A2
accent
#3FC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D9C367

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

Preview Lab → · Contrast checker → · Palette generator →

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