#D5CD59#D5CD59

#D5CD59 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.137 H 105.3°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D5CD59
RGBrgb(213, 205, 89)
HSLhsl(56, 60%, 59%)
HSVhsv(56, 58%, 84%)
CMYKcmyk(0%, 3.8%, 58.2%, 16.5%)
CIE-LABlab(81.03, -11.74, 57.42)
CIE-LCHlch(81.03, 58.61, 101.56°)
OKLaboklab(83.24% -0.0363 0.1324)
OKLCHoklch(83.24% 0.137 105.3)
XYZxyz(51.0767, 58.5317, 18.0565)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD59 #5961D5
analogous
#D58F59 #D5CD59 #9FD559
triadic
#D5CD59 #59D5CD #CD59D5
tetradic
#D5CD59 #59D58F #5961D5 #D5599F
square
#D5CD59 #59D58F #5961D5 #D5599F
split-complementary
#D5CD59 #599FD5 #8F59D5
monochromatic
#8F8824 #C0B731 #D5CD59 #E1DC8A #EEEABB

Accessibility & contrast

On white

1.65
#D5CD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#D5CD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD59
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD59#FFFFFF#000000##000000
##D5CD591.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64C
Deuteranopia (green-blind)
#E0CC5F
Tritanopia (blue-blind)
#E3C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd59;
/* rgb */ color: rgb(213, 205, 89);
/* oklch */ color: oklch(83.2% 0.137 105.3);
Tailwind
colors: {
  custom: {
    50: '#e5dc8c',
    500: '#d5cd59',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd59;
$custom-light: #e5dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd59",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 56.129,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83244,
    "c": 0.13728,
    "h": 105.3
  },
  "luminance": 0.5853
}

Semantic roles & 50–950 ramp

primary
#D5CD59
secondary
#3D4395
accent
#4FE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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