#D6CC5A#D6CC5A

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

Color values

HEX#D6CC5A
RGBrgb(214, 204, 90)
HSLhsl(55, 60%, 60%)
HSVhsv(55, 58%, 84%)
CMYKcmyk(0%, 4.7%, 57.9%, 16.1%)
CIE-LABlab(80.86, -10.75, 56.81)
CIE-LCHlch(80.86, 57.81, 100.72°)
OKLaboklab(83.13% -0.0334 0.1312)
OKLCHoklch(83.13% 0.135 104.3)
XYZxyz(51.1716, 58.2218, 18.2133)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC5A #5A64D6
analogous
#D68E5A #D6CC5A #A2D65A
triadic
#D6CC5A #5AD6CC #CC5AD6
tetradic
#D6CC5A #5AD68E #5A64D6 #D65AA2
square
#D6CC5A #5AD68E #5A64D6 #D65AA2
split-complementary
#D6CC5A #5AA2D6 #8E5AD6
monochromatic
#918924 #C2B730 #D6CC5A #E2DB8B #EEEABC

Accessibility & contrast

On white

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

On black

12.64
#D6CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC5A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC5A#FFFFFF#000000##000000
##D6CC5A1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64E
Deuteranopia (green-blind)
#E0CB60
Tritanopia (blue-blind)
#E4C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cc5a;
/* rgb */ color: rgb(214, 204, 90);
/* oklch */ color: oklch(83.1% 0.135 104.3);
Tailwind
colors: {
  custom: {
    50: '#e5db8d',
    500: '#d6cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc5a;
$custom-light: #e5db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc5a",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 55.161,
    "s": 60.194,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83131,
    "c": 0.13538,
    "h": 104.3
  },
  "luminance": 0.5822
}

Semantic roles & 50–950 ramp

primary
#D6CC5A
secondary
#3D4597
accent
#51E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D6CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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