#D7C960#D7C960

#D7C960 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.127 H 101.8°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#D7C960
RGBrgb(215, 201, 96)
HSLhsl(53, 60%, 61%)
HSVhsv(53, 55%, 84%)
CMYKcmyk(0%, 6.5%, 55.3%, 15.7%)
CIE-LABlab(80.22, -8.37, 53.37)
CIE-LCHlch(80.22, 54.02, 98.91°)
OKLaboklab(82.66% -0.026 0.1245)
OKLCHoklch(82.66% 0.127 101.8)
XYZxyz(51.0240, 57.0668, 19.3913)
Luminance0.5706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C960 #606ED7
analogous
#D78D60 #D7C960 #A9D760
triadic
#D7C960 #60D7C9 #C960D7
tetradic
#D7C960 #60D78D #606ED7 #D760A9
square
#D7C960 #60D78D #606ED7 #D760A9
split-complementary
#D7C960 #60A9D7 #8D60D7
monochromatic
#978926 #C8B632 #D7C960 #E3DA91 #F0EAC2

Accessibility & contrast

On white

1.69
#D7C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#D7C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C960
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C960#FFFFFF#000000##000000
##D7C9601.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C356
Deuteranopia (green-blind)
#DDCA65
Tritanopia (blue-blind)
#E6BDB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c960;
/* rgb */ color: rgb(215, 201, 96);
/* oklch */ color: oklch(82.7% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#e6d990',
    500: '#d7c960',
    950: '#000000',
  },
}
SCSS
$custom: #d7c960;
$custom-light: #e6d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c960",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 52.941,
    "s": 59.799,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82658,
    "c": 0.12717,
    "h": 101.8
  },
  "luminance": 0.57065
}

Semantic roles & 50–950 ramp

primary
#D7C960
secondary
#404B9B
accent
#32C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C960

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

Preview Lab → · Contrast checker → · Palette generator →

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