#D5C660#D5C660

#D5C660 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.124 H 101.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D5C660
RGBrgb(213, 198, 96)
HSLhsl(52, 58%, 61%)
HSVhsv(52, 55%, 84%)
CMYKcmyk(0%, 7%, 54.9%, 16.5%)
CIE-LABlab(79.26, -7.66, 52.22)
CIE-LCHlch(79.26, 52.78, 98.34°)
OKLaboklab(81.86% -0.0238 0.1221)
OKLCHoklch(81.86% 0.124 101)
XYZxyz(49.7476, 55.3807, 19.1331)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C660 #606FD5
analogous
#D58B60 #D5C660 #A9D560
triadic
#D5C660 #60D5C6 #C660D5
tetradic
#D5C660 #60D58B #606FD5 #D560A9
square
#D5C660 #60D58B #606FD5 #D560A9
split-complementary
#D5C660 #60A9D5 #8B60D5
monochromatic
#948627 #C4B234 #D5C660 #E2D790 #EFE9C1

Accessibility & contrast

On white

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

On black

12.08
#D5C660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C660
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C660#FFFFFF#000000##000000
##D5C6601.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c660;
/* rgb */ color: rgb(213, 198, 96);
/* oklch */ color: oklch(81.9% 0.124 101.0);
Tailwind
colors: {
  custom: {
    50: '#e4d790',
    500: '#d5c660',
    950: '#000000',
  },
}
SCSS
$custom: #d5c660;
$custom-light: #e4d790;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c660",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 96
  },
  "hsl": {
    "h": 52.308,
    "s": 58.209,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81858,
    "c": 0.12436,
    "h": 101
  },
  "luminance": 0.55379
}

Semantic roles & 50–950 ramp

primary
#D5C660
secondary
#404C99
accent
#35C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C660

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

Preview Lab → · Contrast checker → · Palette generator →

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