#D5C05A#D5C05A

#D5C05A is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.125 H 97.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D5C05A
RGBrgb(213, 192, 90)
HSLhsl(50, 59%, 59%)
HSVhsv(50, 58%, 84%)
CMYKcmyk(0%, 9.9%, 57.7%, 16.5%)
CIE-LABlab(77.63, -5.02, 53.14)
CIE-LCHlch(77.63, 53.37, 95.40°)
OKLaboklab(80.55% -0.0169 0.1234)
OKLCHoklch(80.55% 0.125 97.8)
XYZxyz(48.1375, 52.5857, 17.2853)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C05A #5A6FD5
analogous
#D5835A #D5C05A #ADD55A
triadic
#D5C05A #5AD5C0 #C05AD5
tetradic
#D5C05A #5AD583 #5A6FD5 #D55AAD
square
#D5C05A #5AD583 #5A6FD5 #D55AAD
split-complementary
#D5C05A #5AADD5 #835AD5
monochromatic
#907E25 #C1A831 #D5C05A #E1D38B #EEE5BC

Accessibility & contrast

On white

1.82
#D5C05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D5C05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C05A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C05A#FFFFFF#000000##000000
##D5C05A1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC50
Deuteranopia (green-blind)
#D6C35F
Tritanopia (blue-blind)
#E4B3A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c05a;
/* rgb */ color: rgb(213, 192, 90);
/* oklch */ color: oklch(80.5% 0.125 97.8);
Tailwind
colors: {
  custom: {
    50: '#e5d28c',
    500: '#d5c05a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c05a;
$custom-light: #e5d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c05a",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 49.756,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80546,
    "c": 0.12452,
    "h": 97.8
  },
  "luminance": 0.52584
}

Semantic roles & 50–950 ramp

primary
#D5C05A
secondary
#3E4D96
accent
#60E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C05A

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

Preview Lab → · Contrast checker → · Palette generator →

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