#D5C459#D5C459

#D5C459 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.129 H 100.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D5C459
RGBrgb(213, 196, 89)
HSLhsl(52, 60%, 59%)
HSVhsv(52, 58%, 84%)
CMYKcmyk(0%, 8%, 58.2%, 16.5%)
CIE-LABlab(78.66, -7.16, 54.77)
CIE-LCHlch(78.66, 55.23, 97.45°)
OKLaboklab(81.36% -0.0232 0.1267)
OKLCHoklch(81.36% 0.129 100.4)
XYZxyz(48.9855, 54.3492, 17.3594)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C459 #596AD5
analogous
#D58659 #D5C459 #A8D559
triadic
#D5C459 #59D5C4 #C459D5
tetradic
#D5C459 #59D586 #596AD5 #D559A8
square
#D5C459 #59D586 #596AD5 #D559A8
split-complementary
#D5C459 #59A8D5 #8659D5
monochromatic
#8F8124 #C0AC31 #D5C459 #E1D58A #EEE7BB

Accessibility & contrast

On white

1.77
#D5C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#D5C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C459
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C459#FFFFFF#000000##000000
##D5C4591.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4E
Deuteranopia (green-blind)
#D9C65E
Tritanopia (blue-blind)
#E4B7AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c459;
/* rgb */ color: rgb(213, 196, 89);
/* oklch */ color: oklch(81.4% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#e5d58b',
    500: '#d5c459',
    950: '#000000',
  },
}
SCSS
$custom: #d5c459;
$custom-light: #e5d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c459",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 51.774,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81363,
    "c": 0.12883,
    "h": 100.4
  },
  "luminance": 0.54347
}

Semantic roles & 50–950 ramp

primary
#D5C459
secondary
#3D4995
accent
#5BE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C459

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

Preview Lab → · Contrast checker → · Palette generator →

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