#D9C868#D9C868

#D9C868 is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.119 H 99.5°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#D9C868
RGBrgb(217, 200, 104)
HSLhsl(51, 60%, 63%)
HSVhsv(51, 52%, 85%)
CMYKcmyk(0%, 7.8%, 52.1%, 14.9%)
CIE-LABlab(80.21, -6.38, 49.64)
CIE-LCHlch(80.21, 50.05, 97.33°)
OKLaboklab(82.73% -0.0195 0.1172)
OKLCHoklch(82.73% 0.119 99.5)
XYZxyz(51.7699, 57.0617, 21.3810)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C868 #6879D9
analogous
#D98F68 #D9C868 #B2D968
triadic
#D9C868 #68D9C8 #C868D9
tetradic
#D9C868 #68D98F #6879D9 #D968B2
square
#D9C868 #68D98F #6879D9 #D968B2
split-complementary
#D9C868 #68B2D9 #8F68D9
monochromatic
#9F8D28 #CDB637 #D9C868 #E5DA99 #F2ECCA

Accessibility & contrast

On white

1.69
#D9C868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#D9C868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C868
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C868#FFFFFF#000000##000000
##D9C8681.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35F
Deuteranopia (green-blind)
#DDCA6C
Tritanopia (blue-blind)
#E7BCB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d9c868;
/* rgb */ color: rgb(217, 200, 104);
/* oklch */ color: oklch(82.7% 0.119 99.5);
Tailwind
colors: {
  custom: {
    50: '#e7d895',
    500: '#d9c868',
    950: '#000000',
  },
}
SCSS
$custom: #d9c868;
$custom-light: #e7d895;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c868",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 50.973,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82725,
    "c": 0.11879,
    "h": 99.5
  },
  "luminance": 0.5706
}

Semantic roles & 50–950 ramp

primary
#D9C868
secondary
#4351A3
accent
#38C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D9C868

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

Preview Lab → · Contrast checker → · Palette generator →

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