#DCC662#DCC662

#DCC662 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.5% C 0.123 H 97.1°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#DCC662
RGBrgb(220, 198, 98)
HSLhsl(49, 64%, 62%)
HSVhsv(49, 55%, 86%)
CMYKcmyk(0%, 10%, 55.5%, 13.7%)
CIE-LABlab(79.89, -4.60, 52.17)
CIE-LCHlch(79.89, 52.37, 95.04°)
OKLaboklab(82.51% -0.0152 0.122)
OKLCHoklch(82.51% 0.123 97.1)
XYZxyz(51.9158, 56.4879, 19.7215)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC662 #6278DC
analogous
#DC8962 #DCC662 #B5DC62
triadic
#DCC662 #62DCC6 #C662DC
tetradic
#DCC662 #62DC89 #6278DC #DC62B5
square
#DCC662 #62DC89 #6278DC #DC62B5
split-complementary
#DCC662 #62B5DC #8962DC
monochromatic
#A08A24 #D1B430 #DCC662 #E7D894 #F2EAC6

Accessibility & contrast

On white

1.71
#DCC662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#DCC662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC662
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC662#FFFFFF#000000##000000
##DCC6621.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C258
Deuteranopia (green-blind)
#DDC966
Tritanopia (blue-blind)
#EBB9AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc662;
/* rgb */ color: rgb(220, 198, 98);
/* oklch */ color: oklch(82.5% 0.123 97.1);
Tailwind
colors: {
  custom: {
    50: '#e9d791',
    500: '#dcc662',
    950: '#000000',
  },
}
SCSS
$custom: #dcc662;
$custom-light: #e9d791;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc662",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 49.18,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82509,
    "c": 0.12298,
    "h": 97.1
  },
  "luminance": 0.56486
}

Semantic roles & 50–950 ramp

primary
#DCC662
secondary
#3F51A3
accent
#3ACB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC662

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

Preview Lab → · Contrast checker → · Palette generator →

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