#D5C75A#D5C75A

#D5C75A is a light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.131 H 102.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D5C75A
RGBrgb(213, 199, 90)
HSLhsl(53, 59%, 59%)
HSVhsv(53, 58%, 84%)
CMYKcmyk(0%, 6.6%, 57.7%, 16.5%)
CIE-LABlab(79.46, -8.62, 55.21)
CIE-LCHlch(79.46, 55.88, 98.88°)
OKLaboklab(82% -0.0273 0.1278)
OKLCHoklch(82% 0.131 102)
XYZxyz(49.7112, 55.7330, 17.8099)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C75A #5A68D5
analogous
#D58A5A #D5C75A #A5D55A
triadic
#D5C75A #5AD5C7 #C75AD5
tetradic
#D5C75A #5AD58A #5A68D5 #D55AA5
square
#D5C75A #5AD58A #5A68D5 #D55AA5
split-complementary
#D5C75A #5AA5D5 #8A5AD5
monochromatic
#908425 #C1B031 #D5C75A #E1D88B #EEE8BC

Accessibility & contrast

On white

1.73
#D5C75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D5C75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C75A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C75A#FFFFFF#000000##000000
##D5C75A1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14F
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#E4BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c75a;
/* rgb */ color: rgb(213, 199, 90);
/* oklch */ color: oklch(82.0% 0.131 102.0);
Tailwind
colors: {
  custom: {
    50: '#e5d78c',
    500: '#d5c75a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c75a;
$custom-light: #e5d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c75a",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 53.171,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81998,
    "c": 0.13069,
    "h": 102
  },
  "luminance": 0.55731
}

Semantic roles & 50–950 ramp

primary
#D5C75A
secondary
#3E4896
accent
#57E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C75A

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

Preview Lab → · Contrast checker → · Palette generator →

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