#D8CA6F#D8CA6F

#D8CA6F is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.114 H 100.7°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D8CA6F
RGBrgb(216, 202, 111)
HSLhsl(52, 57%, 64%)
HSVhsv(52, 49%, 85%)
CMYKcmyk(0%, 6.5%, 48.6%, 15.3%)
CIE-LABlab(80.73, -7.20, 46.86)
CIE-LCHlch(80.73, 47.41, 98.74°)
OKLaboklab(83.14% -0.0211 0.1117)
OKLCHoklch(83.14% 0.114 100.7)
XYZxyz(52.3101, 57.9895, 23.4734)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA6F #6F7DD8
analogous
#D8966F #D8CA6F #B2D86F
triadic
#D8CA6F #6FD8CA #CA6FD8
tetradic
#D8CA6F #6FD896 #6F7DD8 #D86FB2
square
#D8CA6F #6FD896 #6F7DD8 #D86FB2
split-complementary
#D8CA6F #6FB2D8 #966FD8
monochromatic
#A1912C #CBB83F #D8CA6F #E5DC9F #F2EDCF

Accessibility & contrast

On white

1.67
#D8CA6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#D8CA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA6F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA6F#FFFFFF#000000##000000
##D8CA6F1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C567
Deuteranopia (green-blind)
#DDCB73
Tritanopia (blue-blind)
#E6BFB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca6f;
/* rgb */ color: rgb(216, 202, 111);
/* oklch */ color: oklch(83.1% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#e6d99a',
    500: '#d8ca6f',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca6f;
$custom-light: #e6d99a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca6f",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 111
  },
  "hsl": {
    "h": 52,
    "s": 57.377,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83142,
    "c": 0.11366,
    "h": 100.7
  },
  "luminance": 0.57988
}

Semantic roles & 50–950 ramp

primary
#D8CA6F
secondary
#4653A5
accent
#36C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D8CA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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