#D5C75D#D5C75D

#D5C75D is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.128 H 101.9°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#D5C75D
RGBrgb(213, 199, 93)
HSLhsl(53, 59%, 60%)
HSVhsv(53, 56%, 84%)
CMYKcmyk(0%, 6.6%, 56.3%, 16.5%)
CIE-LABlab(79.49, -8.40, 53.88)
CIE-LCHlch(79.49, 54.53, 98.86°)
OKLaboklab(82.03% -0.0263 0.1253)
OKLCHoklch(82.03% 0.128 101.9)
XYZxyz(49.8415, 55.7851, 18.4960)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C75D #5D6BD5
analogous
#D58B5D #D5C75D #A7D55D
triadic
#D5C75D #5DD5C7 #C75DD5
tetradic
#D5C75D #5DD58B #5D6BD5 #D55DA7
square
#D5C75D #5DD58B #5D6BD5 #D55DA7
split-complementary
#D5C75D #5DA7D5 #8B5DD5
monochromatic
#928526 #C2B232 #D5C75D #E2D88E #EEE9BE

Accessibility & contrast

On white

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

On black

12.16
#D5C75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C75D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C75D#FFFFFF#000000##000000
##D5C75D1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c75d;
/* rgb */ color: rgb(213, 199, 93);
/* oklch */ color: oklch(82.0% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#e4d78e',
    500: '#d5c75d',
    950: '#000000',
  },
}
SCSS
$custom: #d5c75d;
$custom-light: #e4d78e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c75d",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 53,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.82031,
    "c": 0.12802,
    "h": 101.9
  },
  "luminance": 0.55783
}

Semantic roles & 50–950 ramp

primary
#D5C75D
secondary
#3F4997
accent
#58E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C75D

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

Preview Lab → · Contrast checker → · Palette generator →

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