#DCC96A#DCC96A

#DCC96A is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.118 H 98.2°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#DCC96A
RGBrgb(220, 201, 106)
HSLhsl(50, 62%, 64%)
HSVhsv(50, 52%, 86%)
CMYKcmyk(0%, 8.6%, 51.8%, 13.7%)
CIE-LABlab(80.76, -5.50, 49.39)
CIE-LCHlch(80.76, 49.69, 96.35°)
OKLaboklab(83.22% -0.0169 0.1168)
OKLCHoklch(83.22% 0.118 98.2)
XYZxyz(53.0051, 58.0316, 22.0420)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC96A #6A7DDC
analogous
#DC906A #DCC96A #B6DC6A
triadic
#DCC96A #6ADCC9 #C96ADC
tetradic
#DCC96A #6ADC90 #6A7DDC #DC6AB6
square
#DCC96A #6ADC90 #6A7DDC #DC6AB6
split-complementary
#DCC96A #6AB6DC #906ADC
monochromatic
#A59027 #D0B738 #DCC96A #E8DB9C #F3EDCD

Accessibility & contrast

On white

1.67
#DCC96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC96A#FFFFFF#000000##000000
##DCC96A1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C561
Deuteranopia (green-blind)
#DECB6E
Tritanopia (blue-blind)
#EBBDB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc96a;
/* rgb */ color: rgb(220, 201, 106);
/* oklch */ color: oklch(83.2% 0.118 98.2);
Tailwind
colors: {
  custom: {
    50: '#e9d997',
    500: '#dcc96a',
    950: '#000000',
  },
}
SCSS
$custom: #dcc96a;
$custom-light: #e9d997;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc96a",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 106
  },
  "hsl": {
    "h": 50,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83224,
    "c": 0.11798,
    "h": 98.2
  },
  "luminance": 0.5803
}

Semantic roles & 50–950 ramp

primary
#DCC96A
secondary
#4253A8
accent
#39CA1C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC96A

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

Preview Lab → · Contrast checker → · Palette generator →

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