#D4C660#D4C660

#D4C660 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.124 H 101.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D4C660
RGBrgb(212, 198, 96)
HSLhsl(53, 57%, 60%)
HSVhsv(53, 55%, 83%)
CMYKcmyk(0%, 6.6%, 54.7%, 16.9%)
CIE-LABlab(79.17, -8.07, 52.10)
CIE-LCHlch(79.17, 52.72, 98.81°)
OKLaboklab(81.77% -0.0249 0.1218)
OKLCHoklch(81.77% 0.124 101.6)
XYZxyz(49.4584, 55.2316, 19.1196)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C660 #606ED4
analogous
#D48C60 #D4C660 #A8D460
triadic
#D4C660 #60D4C6 #C660D4
tetradic
#D4C660 #60D48C #606ED4 #D460A8
square
#D4C660 #60D48C #606ED4 #D460A8
split-complementary
#D4C660 #60A8D4 #8C60D4
monochromatic
#928528 #C2B135 #D4C660 #E1D790 #EEE9C0

Accessibility & contrast

On white

1.74
#D4C660 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D4C660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C660
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C660#FFFFFF#000000##000000
##D4C6601.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C156
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#E2BAAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c660;
/* rgb */ color: rgb(212, 198, 96);
/* oklch */ color: oklch(81.8% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#e4d790',
    500: '#d4c660',
    950: '#000000',
  },
}
SCSS
$custom: #d4c660;
$custom-light: #e4d790;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c660",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 96
  },
  "hsl": {
    "h": 52.759,
    "s": 57.426,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81769,
    "c": 0.12434,
    "h": 101.6
  },
  "luminance": 0.5523
}

Semantic roles & 50–950 ramp

primary
#D4C660
secondary
#414B98
accent
#34C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4C660

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

Preview Lab → · Contrast checker → · Palette generator →

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