#D9CA6C#D9CA6C

#D9CA6C is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.117 H 100.4°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D9CA6C
RGBrgb(217, 202, 108)
HSLhsl(52, 59%, 64%)
HSVhsv(52, 50%, 85%)
CMYKcmyk(0%, 6.9%, 50.2%, 14.9%)
CIE-LABlab(80.78, -7.06, 48.39)
CIE-LCHlch(80.78, 48.91, 98.30°)
OKLaboklab(83.19% -0.021 0.1148)
OKLCHoklch(83.19% 0.117 100.4)
XYZxyz(52.4441, 58.0773, 22.6320)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA6C #6C7BD9
analogous
#D9936C #D9CA6C #B1D96C
triadic
#D9CA6C #6CD9CA #CA6CD9
tetradic
#D9CA6C #6CD993 #6C7BD9 #D96CB1
square
#D9CA6C #6CD993 #6C7BD9 #D96CB1
split-complementary
#D9CA6C #6CB1D9 #936CD9
monochromatic
#A1912A #CCB83B #D9CA6C #E6DC9D #F2EDCD

Accessibility & contrast

On white

1.66
#D9CA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D9CA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA6C
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA6C#FFFFFF#000000##000000
##D9CA6C1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C564
Deuteranopia (green-blind)
#DECB70
Tritanopia (blue-blind)
#E7BEB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca6c;
/* rgb */ color: rgb(217, 202, 108);
/* oklch */ color: oklch(83.2% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#e7d998',
    500: '#d9ca6c',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca6c;
$custom-light: #e7d998;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca6c",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 108
  },
  "hsl": {
    "h": 51.743,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8319,
    "c": 0.11672,
    "h": 100.4
  },
  "luminance": 0.58075
}

Semantic roles & 50–950 ramp

primary
#D9CA6C
secondary
#4552A5
accent
#36C71F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D9CA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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