#D5CC5A#D5CC5A

#D5CC5A is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.135 H 104.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D5CC5A
RGBrgb(213, 204, 90)
HSLhsl(56, 59%, 59%)
HSVhsv(56, 58%, 84%)
CMYKcmyk(0%, 4.2%, 57.7%, 16.5%)
CIE-LABlab(80.78, -11.17, 56.69)
CIE-LCHlch(80.78, 57.78, 101.14°)
OKLaboklab(83.05% -0.0345 0.131)
OKLCHoklch(83.05% 0.135 104.8)
XYZxyz(50.8806, 58.0718, 18.1997)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC5A #5A63D5
analogous
#D58F5A #D5CC5A #A1D55A
triadic
#D5CC5A #5AD5CC #CC5AD5
tetradic
#D5CC5A #5AD58F #5A63D5 #D55AA1
square
#D5CC5A #5AD58F #5A63D5 #D55AA1
split-complementary
#D5CC5A #5AA1D5 #8F5AD5
monochromatic
#908825 #C1B631 #D5CC5A #E1DB8B #EEEABC

Accessibility & contrast

On white

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

On black

12.61
#D5CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC5A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC5A#FFFFFF#000000##000000
##D5CC5A1.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54E
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#E3C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc5a;
/* rgb */ color: rgb(213, 204, 90);
/* oklch */ color: oklch(83.0% 0.135 104.8);
Tailwind
colors: {
  custom: {
    50: '#e5db8d',
    500: '#d5cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc5a;
$custom-light: #e5db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc5a",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 55.61,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83045,
    "c": 0.13545,
    "h": 104.8
  },
  "luminance": 0.5807
}

Semantic roles & 50–950 ramp

primary
#D5CC5A
secondary
#3E4496
accent
#51E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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