#D8CA6A#D8CA6A

#D8CA6A is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.119 H 101.1°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D8CA6A
RGBrgb(216, 202, 106)
HSLhsl(52, 59%, 63%)
HSVhsv(52, 51%, 85%)
CMYKcmyk(0%, 6.5%, 50.9%, 15.3%)
CIE-LABlab(80.67, -7.65, 49.21)
CIE-LCHlch(80.67, 49.80, 98.83°)
OKLaboklab(83.08% -0.0229 0.1164)
OKLCHoklch(83.08% 0.119 101.1)
XYZxyz(52.0425, 57.8824, 22.0639)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA6A #6A78D8
analogous
#D8936A #D8CA6A #AFD86A
triadic
#D8CA6A #6AD8CA #CA6AD8
tetradic
#D8CA6A #6AD893 #6A78D8 #D86AAF
square
#D8CA6A #6AD893 #6A78D8 #D86AAF
split-complementary
#D8CA6A #6AAFD8 #936AD8
monochromatic
#9E8F29 #CBB939 #D8CA6A #E5DB9B #F1EDCB

Accessibility & contrast

On white

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

On black

12.58
#D8CA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA6A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA6A#FFFFFF#000000##000000
##D8CA6A1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C561
Deuteranopia (green-blind)
#DECB6E
Tritanopia (blue-blind)
#E6BEB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca6a;
/* rgb */ color: rgb(216, 202, 106);
/* oklch */ color: oklch(83.1% 0.119 101.1);
Tailwind
colors: {
  custom: {
    50: '#e6d997',
    500: '#d8ca6a',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca6a;
$custom-light: #e6d997;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca6a",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 106
  },
  "hsl": {
    "h": 52.364,
    "s": 58.511,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83076,
    "c": 0.11866,
    "h": 101.1
  },
  "luminance": 0.57881
}

Semantic roles & 50–950 ramp

primary
#D8CA6A
secondary
#4450A2
accent
#35C61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D8CA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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