#DCC462#DCC462

#DCC462 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.1% C 0.121 H 95.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#DCC462
RGBrgb(220, 196, 98)
HSLhsl(48, 64%, 62%)
HSVhsv(48, 55%, 86%)
CMYKcmyk(0%, 10.9%, 55.5%, 13.7%)
CIE-LABlab(79.37, -3.57, 51.57)
CIE-LCHlch(79.37, 51.69, 93.96°)
OKLaboklab(82.1% -0.0123 0.1207)
OKLCHoklch(82.1% 0.121 95.8)
XYZxyz(51.4617, 55.5796, 19.5701)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC462 #627ADC
analogous
#DC8762 #DCC462 #B7DC62
triadic
#DCC462 #62DCC4 #C462DC
tetradic
#DCC462 #62DC87 #627ADC #DC62B7
square
#DCC462 #62DC87 #627ADC #DC62B7
split-complementary
#DCC462 #62B7DC #8762DC
monochromatic
#A08724 #D1B130 #DCC462 #E7D794 #F2EAC6

Accessibility & contrast

On white

1.73
#DCC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#DCC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC462
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC462#FFFFFF#000000##000000
##DCC4621.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DBC866
Tritanopia (blue-blind)
#EBB7AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc462;
/* rgb */ color: rgb(220, 196, 98);
/* oklch */ color: oklch(82.1% 0.121 95.8);
Tailwind
colors: {
  custom: {
    50: '#e9d591',
    500: '#dcc462',
    950: '#000000',
  },
}
SCSS
$custom: #dcc462;
$custom-light: #e9d591;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc462",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 48.197,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82101,
    "c": 0.12135,
    "h": 95.8
  },
  "luminance": 0.55577
}

Semantic roles & 50–950 ramp

primary
#DCC462
secondary
#3F53A3
accent
#3DCB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC462

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

Preview Lab → · Contrast checker → · Palette generator →

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