#DCC762#DCC762

#DCC762 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.7% C 0.124 H 97.8°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#DCC762
RGBrgb(220, 199, 98)
HSLhsl(50, 64%, 62%)
HSVhsv(50, 55%, 86%)
CMYKcmyk(0%, 9.5%, 55.5%, 13.7%)
CIE-LABlab(80.15, -5.12, 52.47)
CIE-LCHlch(80.15, 52.72, 95.57°)
OKLaboklab(82.71% -0.0167 0.1227)
OKLCHoklch(82.71% 0.124 97.8)
XYZxyz(52.1451, 56.9465, 19.7980)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC762 #6277DC
analogous
#DC8A62 #DCC762 #B4DC62
triadic
#DCC762 #62DCC7 #C762DC
tetradic
#DCC762 #62DC8A #6277DC #DC62B4
square
#DCC762 #62DC8A #6277DC #DC62B4
split-complementary
#DCC762 #62B4DC #8A62DC
monochromatic
#A08B24 #D1B530 #DCC762 #E7D994 #F2EBC6

Accessibility & contrast

On white

1.70
#DCC762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#DCC762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC762
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC762#FFFFFF#000000##000000
##DCC7621.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#DDCA67
Tritanopia (blue-blind)
#EBBAB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc762;
/* rgb */ color: rgb(220, 199, 98);
/* oklch */ color: oklch(82.7% 0.124 97.8);
Tailwind
colors: {
  custom: {
    50: '#e9d791',
    500: '#dcc762',
    950: '#000000',
  },
}
SCSS
$custom: #dcc762;
$custom-light: #e9d791;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc762",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 49.672,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82714,
    "c": 0.12381,
    "h": 97.8
  },
  "luminance": 0.56944
}

Semantic roles & 50–950 ramp

primary
#DCC762
secondary
#3F50A3
accent
#39CB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC762

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

Preview Lab → · Contrast checker → · Palette generator →

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