#DCC166#DCC166

#DCC166 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.5% C 0.115 H 93.2°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#DCC166
RGBrgb(220, 193, 102)
HSLhsl(46, 63%, 63%)
HSVhsv(46, 54%, 86%)
CMYKcmyk(0%, 12.3%, 53.6%, 13.7%)
CIE-LABlab(78.65, -1.70, 48.80)
CIE-LCHlch(78.65, 48.83, 91.99°)
OKLaboklab(81.54% -0.0064 0.1151)
OKLCHoklch(81.54% 0.115 93.2)
XYZxyz(50.9854, 54.3172, 20.3665)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC166 #6681DC
analogous
#DC8666 #DCC166 #BCDC66
triadic
#DCC166 #66DCC1 #C166DC
tetradic
#DCC166 #66DC86 #6681DC #DC66BC
square
#DCC166 #66DC86 #6681DC #DC66BC
split-complementary
#DCC166 #66BCDC #8666DC
monochromatic
#A28625 #D1AD34 #DCC166 #E7D598 #F3E9CA

Accessibility & contrast

On white

1.77
#DCC166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#DCC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC166
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC166#FFFFFF#000000##000000
##DCC1661.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D9C66A
Tritanopia (blue-blind)
#EBB5AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc166;
/* rgb */ color: rgb(220, 193, 102);
/* oklch */ color: oklch(81.5% 0.115 93.2);
Tailwind
colors: {
  custom: {
    50: '#e9d394',
    500: '#dcc166',
    950: '#000000',
  },
}
SCSS
$custom: #dcc166;
$custom-light: #e9d394;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc166",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 46.271,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8154,
    "c": 0.1153,
    "h": 93.2
  },
  "luminance": 0.54315
}

Semantic roles & 50–950 ramp

primary
#DCC166
secondary
#4158A6
accent
#43CB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC166

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

Preview Lab → · Contrast checker → · Palette generator →

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