#D5CC58#D5CC58

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

Color values

HEX#D5CC58
RGBrgb(213, 204, 88)
HSLhsl(56, 60%, 59%)
HSVhsv(56, 59%, 84%)
CMYKcmyk(0%, 4.2%, 58.7%, 16.5%)
CIE-LABlab(80.76, -11.31, 57.56)
CIE-LCHlch(80.76, 58.66, 101.12°)
OKLaboklab(83.02% -0.0352 0.1326)
OKLCHoklch(83.02% 0.137 104.9)
XYZxyz(50.7966, 58.0382, 17.7574)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC58 #5861D5
analogous
#D58E58 #D5CC58 #A0D558
triadic
#D5CC58 #58D5CC #CC58D5
tetradic
#D5CC58 #58D58E #5861D5 #D558A0
square
#D5CC58 #58D58E #5861D5 #D558A0
split-complementary
#D5CC58 #58A0D5 #8E58D5
monochromatic
#8F8724 #C0B530 #D5CC58 #E1DB89 #EEEABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CC58#FFFFFF#000000##000000
##D5CC581.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)
#DCC54B
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#E3C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc58;
/* rgb */ color: rgb(213, 204, 88);
/* oklch */ color: oklch(83.0% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#e5db8b',
    500: '#d5cc58',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc58;
$custom-light: #e5db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc58",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 55.68,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83024,
    "c": 0.13715,
    "h": 104.9
  },
  "luminance": 0.58036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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