#DCC362#DCC362

#DCC362 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.121 H 95.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DCC362
RGBrgb(220, 195, 98)
HSLhsl(48, 64%, 62%)
HSVhsv(48, 55%, 86%)
CMYKcmyk(0%, 11.4%, 55.5%, 13.7%)
CIE-LABlab(79.12, -3.05, 51.27)
CIE-LCHlch(79.12, 51.36, 93.41°)
OKLaboklab(81.9% -0.0108 0.1201)
OKLCHoklch(81.9% 0.121 95.1)
XYZxyz(51.2369, 55.1300, 19.4952)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC362 #627BDC
analogous
#DC8662 #DCC362 #B8DC62
triadic
#DCC362 #62DCC3 #C362DC
tetradic
#DCC362 #62DC86 #627BDC #DC62B8
square
#DCC362 #62DC86 #627BDC #DC62B8
split-complementary
#DCC362 #62B8DC #8662DC
monochromatic
#A08624 #D1B030 #DCC362 #E7D694 #F2E9C6

Accessibility & contrast

On white

1.75
#DCC362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DCC362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC362
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC362#FFFFFF#000000##000000
##DCC3621.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF59
Deuteranopia (green-blind)
#DAC766
Tritanopia (blue-blind)
#ECB6AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc362;
/* rgb */ color: rgb(220, 195, 98);
/* oklch */ color: oklch(81.9% 0.121 95.1);
Tailwind
colors: {
  custom: {
    50: '#e9d491',
    500: '#dcc362',
    950: '#000000',
  },
}
SCSS
$custom: #dcc362;
$custom-light: #e9d491;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc362",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 47.705,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81897,
    "c": 0.12056,
    "h": 95.1
  },
  "luminance": 0.55128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC362

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

Preview Lab → · Contrast checker → · Palette generator →

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