#D5CC5D#D5CC5D

#D5CC5D is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.133 H 104.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D5CC5D
RGBrgb(213, 204, 93)
HSLhsl(56, 59%, 60%)
HSVhsv(56, 56%, 84%)
CMYKcmyk(0%, 4.2%, 56.3%, 16.5%)
CIE-LABlab(80.81, -10.95, 55.37)
CIE-LCHlch(80.81, 56.44, 101.18°)
OKLaboklab(83.08% -0.0336 0.1285)
OKLCHoklch(83.08% 0.133 104.6)
XYZxyz(51.0108, 58.1239, 18.8858)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC5D #5D66D5
analogous
#D5905D #D5CC5D #A2D55D
triadic
#D5CC5D #5DD5CC #CC5DD5
tetradic
#D5CC5D #5DD590 #5D66D5 #D55DA2
square
#D5CC5D #5DD590 #5D66D5 #D55DA2
split-complementary
#D5CC5D #5DA2D5 #905DD5
monochromatic
#928A26 #C2B832 #D5CC5D #E2DB8E #EEEBBE

Accessibility & contrast

On white

1.66
#D5CC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D5CC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC5D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC5D#FFFFFF#000000##000000
##D5CC5D1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC652
Deuteranopia (green-blind)
#DFCB63
Tritanopia (blue-blind)
#E3C0B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cc5d;
/* rgb */ color: rgb(213, 204, 93);
/* oklch */ color: oklch(83.1% 0.133 104.6);
Tailwind
colors: {
  custom: {
    50: '#e4db8e',
    500: '#d5cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc5d;
$custom-light: #e4db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc5d",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 55.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.83077,
    "c": 0.13282,
    "h": 104.6
  },
  "luminance": 0.58122
}

Semantic roles & 50–950 ramp

primary
#D5CC5D
secondary
#3F4697
accent
#51E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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