#D5CC6A#D5CC6A

#D5CC6A is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.121 H 104.0°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D5CC6A
RGBrgb(213, 204, 106)
HSLhsl(55, 56%, 63%)
HSVhsv(55, 50%, 84%)
CMYKcmyk(0%, 4.2%, 50.2%, 16.5%)
CIE-LABlab(80.95, -9.89, 49.47)
CIE-LCHlch(80.95, 50.45, 101.30°)
OKLaboklab(83.23% -0.0291 0.1171)
OKLCHoklch(83.23% 0.121 104)
XYZxyz(51.6364, 58.3741, 22.1802)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC6A #6A73D5
analogous
#D5966A #D5CC6A #A9D56A
triadic
#D5CC6A #6AD5CC #CC6AD5
tetradic
#D5CC6A #6AD596 #6A73D5 #D56AA9
square
#D5CC6A #6AD596 #6A73D5 #D56AA9
split-complementary
#D5CC6A #6AA9D5 #966AD5
monochromatic
#99902B #C8BC3A #D5CC6A #E2DC9A #F0EDC9

Accessibility & contrast

On white

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

On black

12.67
#D5CC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC6A
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC6A#FFFFFF#000000##000000
##D5CC6A1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC661
Deuteranopia (green-blind)
#DECB6F
Tritanopia (blue-blind)
#E2C1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cc6a;
/* rgb */ color: rgb(213, 204, 106);
/* oklch */ color: oklch(83.2% 0.121 104.0);
Tailwind
colors: {
  custom: {
    50: '#e4db97',
    500: '#d5cc6a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc6a;
$custom-light: #e4db97;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc6a",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 54.953,
    "s": 56.021,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83232,
    "c": 0.12063,
    "h": 104
  },
  "luminance": 0.58372
}

Semantic roles & 50–950 ramp

primary
#D5CC6A
secondary
#454D9E
accent
#30C422
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5CC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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