#D7CA6D#D7CA6D

#D7CA6D is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.116 H 101.4°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D7CA6D
RGBrgb(215, 202, 109)
HSLhsl(53, 57%, 64%)
HSVhsv(53, 49%, 84%)
CMYKcmyk(0%, 6%, 49.3%, 15.7%)
CIE-LABlab(80.62, -7.79, 47.68)
CIE-LCHlch(80.62, 48.31, 99.28°)
OKLaboklab(83.03% -0.0229 0.1134)
OKLCHoklch(83.03% 0.116 101.4)
XYZxyz(51.9066, 57.7940, 22.8862)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA6D #6D7AD7
analogous
#D7956D #D7CA6D #AFD76D
triadic
#D7CA6D #6DD7CA #CA6DD7
tetradic
#D7CA6D #6DD795 #6D7AD7 #D76DAF
square
#D7CA6D #6DD795 #6D7AD7 #D76DAF
split-complementary
#D7CA6D #6DAFD7 #956DD7
monochromatic
#9E902B #CAB93D #D7CA6D #E4DB9D #F1EDCD

Accessibility & contrast

On white

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

On black

12.56
#D7CA6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA6D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA6D#FFFFFF#000000##000000
##D7CA6D1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C565
Deuteranopia (green-blind)
#DDCB71
Tritanopia (blue-blind)
#E5BFB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca6d;
/* rgb */ color: rgb(215, 202, 109);
/* oklch */ color: oklch(83.0% 0.116 101.4);
Tailwind
colors: {
  custom: {
    50: '#e5d999',
    500: '#d7ca6d',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca6d;
$custom-light: #e5d999;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca6d",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 109
  },
  "hsl": {
    "h": 52.642,
    "s": 56.989,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83028,
    "c": 0.11565,
    "h": 101.4
  },
  "luminance": 0.57792
}

Semantic roles & 50–950 ramp

primary
#D7CA6D
secondary
#4651A2
accent
#35C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7CA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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