#D5CD58#D5CD58

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

Color values

HEX#D5CD58
RGBrgb(213, 205, 88)
HSLhsl(56, 60%, 59%)
HSVhsv(56, 59%, 84%)
CMYKcmyk(0%, 3.8%, 58.7%, 16.5%)
CIE-LABlab(81.02, -11.81, 57.85)
CIE-LCHlch(81.02, 59.04, 101.54°)
OKLaboklab(83.23% -0.0366 0.1332)
OKLCHoklch(83.23% 0.138 105.4)
XYZxyz(51.0350, 58.5150, 17.8368)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD58 #5860D5
analogous
#D58F58 #D5CD58 #9FD558
triadic
#D5CD58 #58D5CD #CD58D5
tetradic
#D5CD58 #58D58F #5860D5 #D5589F
square
#D5CD58 #58D58F #5860D5 #D5589F
split-complementary
#D5CD58 #589FD5 #8F58D5
monochromatic
#8F8824 #C0B630 #D5CD58 #E1DC89 #EEEABA

Accessibility & contrast

On white

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

On black

12.70
#D5CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD58
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD58#FFFFFF#000000##000000
##D5CD581.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cd58;
/* rgb */ color: rgb(213, 205, 88);
/* oklch */ color: oklch(83.2% 0.138 105.4);
Tailwind
colors: {
  custom: {
    50: '#e5dc8b',
    500: '#d5cd58',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd58;
$custom-light: #e5dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd58",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 56.16,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83234,
    "c": 0.13813,
    "h": 105.4
  },
  "luminance": 0.58513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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