#D7C96D#D7C96D

#D7C96D is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.115 H 100.8°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D7C96D
RGBrgb(215, 201, 109)
HSLhsl(52, 57%, 64%)
HSVhsv(52, 49%, 84%)
CMYKcmyk(0%, 6.5%, 49.3%, 15.7%)
CIE-LABlab(80.36, -7.28, 47.36)
CIE-LCHlch(80.36, 47.92, 98.74°)
OKLaboklab(82.82% -0.0214 0.1127)
OKLCHoklch(82.82% 0.115 100.8)
XYZxyz(51.6728, 57.3263, 22.8082)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C96D #6D7BD7
analogous
#D7946D #D7C96D #B0D76D
triadic
#D7C96D #6DD7C9 #C96DD7
tetradic
#D7C96D #6DD794 #6D7BD7 #D76DB0
square
#D7C96D #6DD794 #6D7BD7 #D76DB0
split-complementary
#D7C96D #6DB0D7 #946DD7
monochromatic
#9E8F2B #CAB73D #D7C96D #E4DB9D #F1EDCD

Accessibility & contrast

On white

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

On black

12.46
#D7C96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C96D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C96D#FFFFFF#000000##000000
##D7C96D1.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C465
Deuteranopia (green-blind)
#DCCA71
Tritanopia (blue-blind)
#E5BEB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c96d;
/* rgb */ color: rgb(215, 201, 109);
/* oklch */ color: oklch(82.8% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#e5d999',
    500: '#d7c96d',
    950: '#000000',
  },
}
SCSS
$custom: #d7c96d;
$custom-light: #e5d999;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c96d",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 109
  },
  "hsl": {
    "h": 52.075,
    "s": 56.989,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82821,
    "c": 0.11468,
    "h": 100.8
  },
  "luminance": 0.57324
}

Semantic roles & 50–950 ramp

primary
#D7C96D
secondary
#4652A2
accent
#37C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C96D

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

Preview Lab → · Contrast checker → · Palette generator →

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