#D5C460#D5C460

#D5C460 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.123 H 99.8°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D5C460
RGBrgb(213, 196, 96)
HSLhsl(51, 58%, 61%)
HSVhsv(51, 55%, 84%)
CMYKcmyk(0%, 8%, 54.9%, 16.5%)
CIE-LABlab(78.74, -6.63, 51.61)
CIE-LCHlch(78.74, 52.04, 97.32°)
OKLaboklab(81.44% -0.0209 0.1208)
OKLCHoklch(81.44% 0.123 99.8)
XYZxyz(49.2935, 54.4724, 18.9818)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C460 #6071D5
analogous
#D58960 #D5C460 #ABD560
triadic
#D5C460 #60D5C4 #C460D5
tetradic
#D5C460 #60D589 #6071D5 #D560AB
square
#D5C460 #60D589 #6071D5 #D560AB
split-complementary
#D5C460 #60ABD5 #8960D5
monochromatic
#948427 #C4AF34 #D5C460 #E2D690 #EFE8C1

Accessibility & contrast

On white

1.77
#D5C460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#D5C460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C460
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C460#FFFFFF#000000##000000
##D5C4601.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#E4B8AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c460;
/* rgb */ color: rgb(213, 196, 96);
/* oklch */ color: oklch(81.4% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#e4d590',
    500: '#d5c460',
    950: '#000000',
  },
}
SCSS
$custom: #d5c460;
$custom-light: #e4d590;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c460",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 96
  },
  "hsl": {
    "h": 51.282,
    "s": 58.209,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81442,
    "c": 0.12254,
    "h": 99.8
  },
  "luminance": 0.54471
}

Semantic roles & 50–950 ramp

primary
#D5C460
secondary
#404D99
accent
#38C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C460

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

Preview Lab → · Contrast checker → · Palette generator →

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