#D5CC59#D5CC59

#D5CC59 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.136 H 104.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D5CC59
RGBrgb(213, 204, 89)
HSLhsl(56, 60%, 59%)
HSVhsv(56, 58%, 84%)
CMYKcmyk(0%, 4.2%, 58.2%, 16.5%)
CIE-LABlab(80.77, -11.24, 57.12)
CIE-LCHlch(80.77, 58.22, 101.13°)
OKLaboklab(83.03% -0.0348 0.1318)
OKLCHoklch(83.03% 0.136 104.8)
XYZxyz(50.8383, 58.0548, 17.9770)
Luminance0.5805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC59 #5962D5
analogous
#D58E59 #D5CC59 #A0D559
triadic
#D5CC59 #59D5CC #CC59D5
tetradic
#D5CC59 #59D58E #5962D5 #D559A0
square
#D5CC59 #59D58E #5962D5 #D559A0
split-complementary
#D5CC59 #59A0D5 #8E59D5
monochromatic
#8F8824 #C0B631 #D5CC59 #E1DB8A #EEEABB

Accessibility & contrast

On white

1.67
#D5CC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#D5CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC59
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC59#FFFFFF#000000##000000
##D5CC591.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54D
Deuteranopia (green-blind)
#DFCB5F
Tritanopia (blue-blind)
#E3C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc59;
/* rgb */ color: rgb(213, 204, 89);
/* oklch */ color: oklch(83.0% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#e5db8c',
    500: '#d5cc59',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc59;
$custom-light: #e5db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc59",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 55.645,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83034,
    "c": 0.1363,
    "h": 104.8
  },
  "luminance": 0.58053
}

Semantic roles & 50–950 ramp

primary
#D5CC59
secondary
#3D4495
accent
#50E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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