#DCC682#DCC682

#DCC682 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 83.0% C 0.090 H 92.2°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#DCC682
RGBrgb(220, 198, 130)
HSLhsl(45, 56%, 69%)
HSVhsv(45, 41%, 86%)
CMYKcmyk(0%, 10%, 40.9%, 13.7%)
CIE-LABlab(80.30, -1.64, 36.87)
CIE-LCHlch(80.30, 36.91, 92.55°)
OKLaboklab(82.97% -0.0035 0.0904)
OKLCHoklch(82.97% 0.09 92.2)
XYZxyz(53.7398, 57.2175, 29.3281)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC682 #8298DC
analogous
#DC9982 #DCC682 #C5DC82
triadic
#DCC682 #82DCC6 #C682DC
tetradic
#DCC682 #82DC99 #8298DC #DC82C5
square
#DCC682 #82DC99 #8298DC #DC82C5
split-complementary
#DCC682 #82C5DC #9982DC
monochromatic
#B29332 #CFB052 #DCC682 #E9DCB2 #F7F2E2

Accessibility & contrast

On white

1.69
#DCC682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#DCC682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC682
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC682#FFFFFF#000000##000000
##DCC6821.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37D
Deuteranopia (green-blind)
#DACA84
Tritanopia (blue-blind)
#E9BCB5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc682;
/* rgb */ color: rgb(220, 198, 130);
/* oklch */ color: oklch(83.0% 0.090 92.2);
Tailwind
colors: {
  custom: {
    50: '#e8d7a7',
    500: '#dcc682',
    950: '#000000',
  },
}
SCSS
$custom: #dcc682;
$custom-light: #e8d7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc682",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 130
  },
  "hsl": {
    "h": 45.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.82968,
    "c": 0.09042,
    "h": 92.2
  },
  "luminance": 0.57216
}

Semantic roles & 50–950 ramp

primary
#DCC682
secondary
#5068B3
accent
#49C422
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC682

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

Preview Lab → · Contrast checker → · Palette generator →

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