#D5CD5D#D5CD5D

#D5CD5D is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.134 H 105.2°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D5CD5D
RGBrgb(213, 205, 93)
HSLhsl(56, 59%, 60%)
HSVhsv(56, 56%, 84%)
CMYKcmyk(0%, 3.8%, 56.3%, 16.5%)
CIE-LABlab(81.07, -11.45, 55.67)
CIE-LCHlch(81.07, 56.84, 101.62°)
OKLaboklab(83.29% -0.035 0.1291)
OKLCHoklch(83.29% 0.134 105.2)
XYZxyz(51.2493, 58.6007, 18.9653)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD5D #5D65D5
analogous
#D5915D #D5CD5D #A1D55D
triadic
#D5CD5D #5DD5CD #CD5DD5
tetradic
#D5CD5D #5DD591 #5D65D5 #D55DA1
square
#D5CD5D #5DD591 #5D65D5 #D55DA1
split-complementary
#D5CD5D #5DA1D5 #915DD5
monochromatic
#928B26 #C2B932 #D5CD5D #E2DC8E #EEEBBE

Accessibility & contrast

On white

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

On black

12.72
#D5CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD5D
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD5D#FFFFFF#000000##000000
##D5CD5D1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cd5d;
/* rgb */ color: rgb(213, 205, 93);
/* oklch */ color: oklch(83.3% 0.134 105.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc8f',
    500: '#d5cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd5d;
$custom-light: #e4dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd5d",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 56,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.83287,
    "c": 0.13381,
    "h": 105.2
  },
  "luminance": 0.58599
}

Semantic roles & 50–950 ramp

primary
#D5CD5D
secondary
#3F4597
accent
#50E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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