#D7C96F#D7C96F

#D7C96F is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.113 H 100.6°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D7C96F
RGBrgb(215, 201, 111)
HSLhsl(52, 57%, 64%)
HSVhsv(52, 48%, 84%)
CMYKcmyk(0%, 6.5%, 48.4%, 15.7%)
CIE-LABlab(80.39, -7.10, 46.42)
CIE-LCHlch(80.39, 46.96, 98.69°)
OKLaboklab(82.85% -0.0207 0.1107)
OKLCHoklch(82.85% 0.113 100.6)
XYZxyz(51.7817, 57.3698, 23.3817)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C96F #6F7DD7
analogous
#D7956F #D7C96F #B1D76F
triadic
#D7C96F #6FD7C9 #C96FD7
tetradic
#D7C96F #6FD795 #6F7DD7 #D76FB1
square
#D7C96F #6FD795 #6F7DD7 #D76FB1
split-complementary
#D7C96F #6FB1D7 #956FD7
monochromatic
#9F902C #CAB73F #D7C96F #E4DB9F #F2EDCF

Accessibility & contrast

On white

1.68
#D7C96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D7C96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C96F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C96F#FFFFFF#000000##000000
##D7C96F1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C467
Deuteranopia (green-blind)
#DCCA73
Tritanopia (blue-blind)
#E5BEB4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c96f;
/* rgb */ color: rgb(215, 201, 111);
/* oklch */ color: oklch(82.8% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#e5d99a',
    500: '#d7c96f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c96f;
$custom-light: #e5d99a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c96f",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 111
  },
  "hsl": {
    "h": 51.923,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82848,
    "c": 0.11266,
    "h": 100.6
  },
  "luminance": 0.57368
}

Semantic roles & 50–950 ramp

primary
#D7C96F
secondary
#4753A3
accent
#37C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C96F

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

Preview Lab → · Contrast checker → · Palette generator →

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