#DCC062#DCC062

#DCC062 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.3% C 0.118 H 93.0°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#DCC062
RGBrgb(220, 192, 98)
HSLhsl(46, 64%, 62%)
HSVhsv(46, 55%, 86%)
CMYKcmyk(0%, 12.7%, 55.5%, 13.7%)
CIE-LABlab(78.34, -1.50, 50.37)
CIE-LCHlch(78.34, 50.39, 91.70°)
OKLaboklab(81.29% -0.0063 0.1181)
OKLCHoklch(81.29% 0.118 93)
XYZxyz(50.5715, 53.7992, 19.2734)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC062 #627EDC
analogous
#DC8362 #DCC062 #BBDC62
triadic
#DCC062 #62DCC0 #C062DC
tetradic
#DCC062 #62DC83 #627EDC #DC62BB
square
#DCC062 #62DC83 #627EDC #DC62BB
split-complementary
#DCC062 #62BBDC #8362DC
monochromatic
#A08324 #D1AC30 #DCC062 #E7D494 #F2E8C6

Accessibility & contrast

On white

1.79
#DCC062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#DCC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC062
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC062#FFFFFF#000000##000000
##DCC0621.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D8C566
Tritanopia (blue-blind)
#ECB3AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc062;
/* rgb */ color: rgb(220, 192, 98);
/* oklch */ color: oklch(81.3% 0.118 93.0);
Tailwind
colors: {
  custom: {
    50: '#e9d291',
    500: '#dcc062',
    950: '#000000',
  },
}
SCSS
$custom: #dcc062;
$custom-light: #e9d291;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc062",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 46.23,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81287,
    "c": 0.11829,
    "h": 93
  },
  "luminance": 0.53797
}

Semantic roles & 50–950 ramp

primary
#DCC062
secondary
#3F56A3
accent
#43CB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC062

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

Preview Lab → · Contrast checker → · Palette generator →

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