#D5CC5F#D5CC5F

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

Color values

HEX#D5CC5F
RGBrgb(213, 204, 95)
HSLhsl(55, 58%, 60%)
HSVhsv(55, 55%, 84%)
CMYKcmyk(0%, 4.2%, 55.4%, 16.5%)
CIE-LABlab(80.83, -10.79, 54.48)
CIE-LCHlch(80.83, 55.54, 101.20°)
OKLaboklab(83.1% -0.0329 0.1268)
OKLCHoklch(83.1% 0.131 104.6)
XYZxyz(51.1006, 58.1598, 19.3584)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC5F #5F68D5
analogous
#D5915F #D5CC5F #A3D55F
triadic
#D5CC5F #5FD5CC #CC5FD5
tetradic
#D5CC5F #5FD591 #5F68D5 #D55FA3
square
#D5CC5F #5FD591 #5F68D5 #D55FA3
split-complementary
#D5CC5F #5FA3D5 #915FD5
monochromatic
#938B27 #C3B833 #D5CC5F #E2DB8F #EEEBC0

Accessibility & contrast

On white

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

On black

12.63
#D5CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC5F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC5F#FFFFFF#000000##000000
##D5CC5F1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cc5f;
/* rgb */ color: rgb(213, 204, 95);
/* oklch */ color: oklch(83.1% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#e4db90',
    500: '#d5cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc5f;
$custom-light: #e4db90;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc5f",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 55.424,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.13103,
    "h": 104.6
  },
  "luminance": 0.58158
}

Semantic roles & 50–950 ramp

primary
#D5CC5F
secondary
#404798
accent
#2CC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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