#D5C05D#D5C05D

#D5C05D is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.122 H 97.5°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D5C05D
RGBrgb(213, 192, 93)
HSLhsl(50, 59%, 60%)
HSVhsv(50, 56%, 84%)
CMYKcmyk(0%, 9.9%, 56.3%, 16.5%)
CIE-LABlab(77.66, -4.80, 51.78)
CIE-LCHlch(77.66, 52.00, 95.29°)
OKLaboklab(80.58% -0.0159 0.1208)
OKLCHoklch(80.58% 0.122 97.5)
XYZxyz(48.2678, 52.6378, 17.9714)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C05D #5D72D5
analogous
#D5845D #D5C05D #AED55D
triadic
#D5C05D #5DD5C0 #C05DD5
tetradic
#D5C05D #5DD584 #5D72D5 #D55DAE
square
#D5C05D #5DD584 #5D72D5 #D55DAE
split-complementary
#D5C05D #5DAED5 #845DD5
monochromatic
#927F26 #C2A932 #D5C05D #E2D38E #EEE6BE

Accessibility & contrast

On white

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

On black

11.53
#D5C05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C05D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C05D#FFFFFF#000000##000000
##D5C05D1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC53
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#E4B4AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c05d;
/* rgb */ color: rgb(213, 192, 93);
/* oklch */ color: oklch(80.6% 0.122 97.5);
Tailwind
colors: {
  custom: {
    50: '#e4d28e',
    500: '#d5c05d',
    950: '#000000',
  },
}
SCSS
$custom: #d5c05d;
$custom-light: #e4d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c05d",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 49.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.8058,
    "c": 0.12182,
    "h": 97.5
  },
  "luminance": 0.52636
}

Semantic roles & 50–950 ramp

primary
#D5C05D
secondary
#3F4E97
accent
#61E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C05D

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

Preview Lab → · Contrast checker → · Palette generator →

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