#D5C05E#D5C05E

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

Color values

HEX#D5C05E
RGBrgb(213, 192, 94)
HSLhsl(49, 59%, 60%)
HSVhsv(49, 56%, 84%)
CMYKcmyk(0%, 9.9%, 55.9%, 16.5%)
CIE-LABlab(77.67, -4.72, 51.32)
CIE-LCHlch(77.67, 51.54, 95.26°)
OKLaboklab(80.59% -0.0156 0.1199)
OKLCHoklch(80.59% 0.121 97.4)
XYZxyz(48.3124, 52.6556, 18.2062)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C05E #5E73D5
analogous
#D5855E #D5C05E #AED55E
triadic
#D5C05E #5ED5C0 #C05ED5
tetradic
#D5C05E #5ED585 #5E73D5 #D55EAE
square
#D5C05E #5ED585 #5E73D5 #D55EAE
split-complementary
#D5C05E #5EAED5 #855ED5
monochromatic
#927F26 #C3AA33 #D5C05E #E2D38F #EEE6BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C05E#FFFFFF#000000##000000
##D5C05E1.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)
#D0BC55
Deuteranopia (green-blind)
#D6C362
Tritanopia (blue-blind)
#E4B4AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c05e;
/* rgb */ color: rgb(213, 192, 94);
/* oklch */ color: oklch(80.6% 0.121 97.4);
Tailwind
colors: {
  custom: {
    50: '#e4d28e',
    500: '#d5c05e',
    950: '#000000',
  },
}
SCSS
$custom: #d5c05e;
$custom-light: #e4d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c05e",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 49.412,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80592,
    "c": 0.12091,
    "h": 97.4
  },
  "luminance": 0.52654
}

Semantic roles & 50–950 ramp

primary
#D5C05E
secondary
#3F4F98
accent
#3DC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C05E

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

Preview Lab → · Contrast checker → · Palette generator →

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