#D5CD56#D5CD56

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

Color values

HEX#D5CD56
RGBrgb(213, 205, 86)
HSLhsl(56, 60%, 59%)
HSVhsv(56, 60%, 84%)
CMYKcmyk(0%, 3.8%, 59.6%, 16.5%)
CIE-LABlab(81.01, -11.95, 58.71)
CIE-LCHlch(81.01, 59.91, 101.51°)
OKLaboklab(83.21% -0.0372 0.1348)
OKLCHoklch(83.21% 0.14 105.4)
XYZxyz(50.9533, 58.4824, 17.4065)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD56 #565ED5
analogous
#D58D56 #D5CD56 #9DD556
triadic
#D5CD56 #56D5CD #CD56D5
tetradic
#D5CD56 #56D58D #565ED5 #D5569D
square
#D5CD56 #56D58D #565ED5 #D5569D
split-complementary
#D5CD56 #569DD5 #8D56D5
monochromatic
#8D8723 #BEB52F #D5CD56 #E1DC87 #EDEAB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD56#FFFFFF#000000##000000
##D5CD561.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)
#DDC649
Deuteranopia (green-blind)
#E0CC5D
Tritanopia (blue-blind)
#E3C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd56;
/* rgb */ color: rgb(213, 205, 86);
/* oklch */ color: oklch(83.2% 0.140 105.4);
Tailwind
colors: {
  custom: {
    50: '#e5dc8a',
    500: '#d5cd56',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd56;
$custom-light: #e5dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd56",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 56.22,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83214,
    "c": 0.13981,
    "h": 105.4
  },
  "luminance": 0.58481
}

Semantic roles & 50–950 ramp

primary
#D5CD56
secondary
#3C4193
accent
#4EE344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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