#D5CD5A#D5CD5A

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

Color values

HEX#D5CD5A
RGBrgb(213, 205, 90)
HSLhsl(56, 59%, 59%)
HSVhsv(56, 58%, 84%)
CMYKcmyk(0%, 3.8%, 57.7%, 16.5%)
CIE-LABlab(81.04, -11.67, 56.98)
CIE-LCHlch(81.04, 58.17, 101.58°)
OKLaboklab(83.26% -0.036 0.1316)
OKLCHoklch(83.26% 0.136 105.3)
XYZxyz(51.1190, 58.5486, 18.2791)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD5A #5A62D5
analogous
#D5905A #D5CD5A #9FD55A
triadic
#D5CD5A #5AD5CD #CD5AD5
tetradic
#D5CD5A #5AD590 #5A62D5 #D55A9F
square
#D5CD5A #5AD590 #5A62D5 #D55A9F
split-complementary
#D5CD5A #5A9FD5 #905AD5
monochromatic
#908925 #C1B731 #D5CD5A #E1DC8B #EEEBBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD5A#FFFFFF#000000##000000
##D5CD5A1.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)
#DDC64E
Deuteranopia (green-blind)
#E0CC60
Tritanopia (blue-blind)
#E3C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd5a;
/* rgb */ color: rgb(213, 205, 90);
/* oklch */ color: oklch(83.3% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#e5dc8d',
    500: '#d5cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd5a;
$custom-light: #e5dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd5a",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 56.098,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83255,
    "c": 0.13643,
    "h": 105.3
  },
  "luminance": 0.58547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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