#DCC962#DCC962

#DCC962 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.126 H 99.0°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#DCC962
RGBrgb(220, 201, 98)
HSLhsl(51, 64%, 62%)
HSVhsv(51, 55%, 86%)
CMYKcmyk(0%, 8.6%, 55.5%, 13.7%)
CIE-LABlab(80.67, -6.15, 53.07)
CIE-LCHlch(80.67, 53.42, 96.61°)
OKLaboklab(83.13% -0.0197 0.124)
OKLCHoklch(83.13% 0.126 99)
XYZxyz(52.6083, 57.8729, 19.9524)
Luminance0.5787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC962 #6275DC
analogous
#DC8C62 #DCC962 #B2DC62
triadic
#DCC962 #62DCC9 #C962DC
tetradic
#DCC962 #62DC8C #6275DC #DC62B2
square
#DCC962 #62DC8C #6275DC #DC62B2
split-complementary
#DCC962 #62B2DC #8C62DC
monochromatic
#A08D24 #D1B830 #DCC962 #E7DA94 #F2EBC6

Accessibility & contrast

On white

1.67
#DCC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#DCC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC962
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC962#FFFFFF#000000##000000
##DCC9621.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#EBBCB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc962;
/* rgb */ color: rgb(220, 201, 98);
/* oklch */ color: oklch(83.1% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#e9d992',
    500: '#dcc962',
    950: '#000000',
  },
}
SCSS
$custom: #dcc962;
$custom-light: #e9d992;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc962",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 50.656,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83125,
    "c": 0.12552,
    "h": 99
  },
  "luminance": 0.57871
}

Semantic roles & 50–950 ramp

primary
#DCC962
secondary
#3F4EA3
accent
#36CB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC962

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

Preview Lab → · Contrast checker → · Palette generator →

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