#D4C960#D4C960

#D4C960 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.127 H 103.3°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D4C960
RGBrgb(212, 201, 96)
HSLhsl(54, 57%, 60%)
HSVhsv(54, 55%, 83%)
CMYKcmyk(0%, 5.2%, 54.7%, 16.9%)
CIE-LABlab(79.96, -9.60, 53.01)
CIE-LCHlch(79.96, 53.87, 100.27°)
OKLaboklab(82.4% -0.0293 0.1238)
OKLCHoklch(82.4% 0.127 103.3)
XYZxyz(50.1509, 56.6166, 19.3504)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C960 #606BD4
analogous
#D48F60 #D4C960 #A5D460
triadic
#D4C960 #60D4C9 #C960D4
tetradic
#D4C960 #60D48F #606BD4 #D460A5
square
#D4C960 #60D48F #606BD4 #D460A5
split-complementary
#D4C960 #60A5D4 #8F60D4
monochromatic
#928828 #C2B535 #D4C960 #E1D990 #EEEAC0

Accessibility & contrast

On white

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

On black

12.32
#D4C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C960
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C960#FFFFFF#000000##000000
##D4C9601.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c960;
/* rgb */ color: rgb(212, 201, 96);
/* oklch */ color: oklch(82.4% 0.127 103.3);
Tailwind
colors: {
  custom: {
    50: '#e4d990',
    500: '#d4c960',
    950: '#000000',
  },
}
SCSS
$custom: #d4c960;
$custom-light: #e4d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c960",
  "rgb": {
    "r": 212,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 54.31,
    "s": 57.426,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82396,
    "c": 0.12721,
    "h": 103.3
  },
  "luminance": 0.56615
}

Semantic roles & 50–950 ramp

primary
#D4C960
secondary
#414998
accent
#30C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4C960

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

Preview Lab → · Contrast checker → · Palette generator →

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