#D5CD5B#D5CD5B

#D5CD5B is a very light, vivid yellow. Relative luminance 0.586; 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#D5CD5B
RGBrgb(213, 205, 91)
HSLhsl(56, 59%, 60%)
HSVhsv(56, 57%, 84%)
CMYKcmyk(0%, 3.8%, 57.3%, 16.5%)
CIE-LABlab(81.05, -11.60, 56.55)
CIE-LCHlch(81.05, 57.73, 101.59°)
OKLaboklab(83.27% -0.0357 0.1308)
OKLCHoklch(83.27% 0.136 105.3)
XYZxyz(51.1619, 58.5658, 18.5048)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD5B #5B63D5
analogous
#D5905B #D5CD5B #A0D55B
triadic
#D5CD5B #5BD5CD #CD5BD5
tetradic
#D5CD5B #5BD590 #5B63D5 #D55BA0
square
#D5CD5B #5BD590 #5B63D5 #D55BA0
split-complementary
#D5CD5B #5BA0D5 #905BD5
monochromatic
#918A25 #C1B832 #D5CD5B #E1DC8C #EEEBBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD5B#FFFFFF#000000##000000
##D5CD5B1.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)
#DDC64F
Deuteranopia (green-blind)
#E0CC61
Tritanopia (blue-blind)
#E3C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd5b;
/* rgb */ color: rgb(213, 205, 91);
/* oklch */ color: oklch(83.3% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#e5dc8d',
    500: '#d5cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd5b;
$custom-light: #e5dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd5b",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 56.066,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83265,
    "c": 0.13556,
    "h": 105.3
  },
  "luminance": 0.58564
}

Semantic roles & 50–950 ramp

primary
#D5CD5B
secondary
#3E4496
accent
#50E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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