#D5C059#D5C059

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

Color values

HEX#D5C059
RGBrgb(213, 192, 89)
HSLhsl(50, 60%, 59%)
HSVhsv(50, 58%, 84%)
CMYKcmyk(0%, 9.9%, 58.2%, 16.5%)
CIE-LABlab(77.62, -5.10, 53.59)
CIE-LCHlch(77.62, 53.83, 95.43°)
OKLaboklab(80.53% -0.0173 0.1242)
OKLCHoklch(80.53% 0.125 97.9)
XYZxyz(48.0952, 52.5688, 17.0627)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C059 #596ED5
analogous
#D58259 #D5C059 #ACD559
triadic
#D5C059 #59D5C0 #C059D5
tetradic
#D5C059 #59D582 #596ED5 #D559AC
square
#D5C059 #59D582 #596ED5 #D559AC
split-complementary
#D5C059 #59ACD5 #8259D5
monochromatic
#8F7D24 #C0A831 #D5C059 #E1D38A #EEE5BB

Accessibility & contrast

On white

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

On black

11.51
#D5C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C059
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C059#FFFFFF#000000##000000
##D5C0591.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c059;
/* rgb */ color: rgb(213, 192, 89);
/* oklch */ color: oklch(80.5% 0.125 97.9);
Tailwind
colors: {
  custom: {
    50: '#e5d28b',
    500: '#d5c059',
    950: '#000000',
  },
}
SCSS
$custom: #d5c059;
$custom-light: #e5d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c059",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 49.839,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80534,
    "c": 0.12539,
    "h": 97.9
  },
  "luminance": 0.52567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C059

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

Preview Lab → · Contrast checker → · Palette generator →

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