#D5C960#D5C960

#D5C960 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.127 H 102.8°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D5C960
RGBrgb(213, 201, 96)
HSLhsl(54, 58%, 61%)
HSVhsv(54, 55%, 84%)
CMYKcmyk(0%, 5.6%, 54.9%, 16.5%)
CIE-LABlab(80.05, -9.19, 53.13)
CIE-LCHlch(80.05, 53.92, 99.81°)
OKLaboklab(82.48% -0.0282 0.124)
OKLCHoklch(82.48% 0.127 102.8)
XYZxyz(50.4402, 56.7657, 19.3640)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C960 #606CD5
analogous
#D58E60 #D5C960 #A6D560
triadic
#D5C960 #60D5C9 #C960D5
tetradic
#D5C960 #60D58E #606CD5 #D560A6
square
#D5C960 #60D58E #606CD5 #D560A6
split-complementary
#D5C960 #60A6D5 #8E60D5
monochromatic
#948827 #C4B534 #D5C960 #E2D990 #EFEAC1

Accessibility & contrast

On white

1.70
#D5C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#D5C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C960
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C960#FFFFFF#000000##000000
##D5C9601.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C356
Deuteranopia (green-blind)
#DDC965
Tritanopia (blue-blind)
#E3BDB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c960;
/* rgb */ color: rgb(213, 201, 96);
/* oklch */ color: oklch(82.5% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#e4d990',
    500: '#d5c960',
    950: '#000000',
  },
}
SCSS
$custom: #d5c960;
$custom-light: #e4d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c960",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 53.846,
    "s": 58.209,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82483,
    "c": 0.12719,
    "h": 102.8
  },
  "luminance": 0.56764
}

Semantic roles & 50–950 ramp

primary
#D5C960
secondary
#404999
accent
#31C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C960

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

Preview Lab → · Contrast checker → · Palette generator →

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