#DCC162#DCC162

#DCC162 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.119 H 93.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DCC162
RGBrgb(220, 193, 98)
HSLhsl(47, 64%, 62%)
HSVhsv(47, 55%, 86%)
CMYKcmyk(0%, 12.3%, 55.5%, 13.7%)
CIE-LABlab(78.60, -2.02, 50.67)
CIE-LCHlch(78.60, 50.71, 92.28°)
OKLaboklab(81.49% -0.0078 0.1188)
OKLCHoklch(81.49% 0.119 93.7)
XYZxyz(50.7918, 54.2398, 19.3468)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC162 #627DDC
analogous
#DC8462 #DCC162 #BADC62
triadic
#DCC162 #62DCC1 #C162DC
tetradic
#DCC162 #62DC84 #627DDC #DC62BA
square
#DCC162 #62DC84 #627DDC #DC62BA
split-complementary
#DCC162 #62BADC #8462DC
monochromatic
#A08424 #D1AD30 #DCC162 #E7D594 #F2E9C6

Accessibility & contrast

On white

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

On black

11.85
#DCC162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC162
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC162#FFFFFF#000000##000000
##DCC1621.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#ECB4AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc162;
/* rgb */ color: rgb(220, 193, 98);
/* oklch */ color: oklch(81.5% 0.119 93.7);
Tailwind
colors: {
  custom: {
    50: '#e9d391',
    500: '#dcc162',
    950: '#000000',
  },
}
SCSS
$custom: #dcc162;
$custom-light: #e9d391;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc162",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 46.721,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8149,
    "c": 0.11903,
    "h": 93.7
  },
  "luminance": 0.54237
}

Semantic roles & 50–950 ramp

primary
#DCC162
secondary
#3F55A3
accent
#41CB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC162

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

Preview Lab → · Contrast checker → · Palette generator →

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