#DCC45D#DCC45D

#DCC45D is a very light, vivid yellow. Relative luminance 0.555; OKLCH L 82.0% C 0.126 H 96.4°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#DCC45D
RGBrgb(220, 196, 93)
HSLhsl(49, 64%, 61%)
HSVhsv(49, 58%, 86%)
CMYKcmyk(0%, 10.9%, 57.7%, 13.7%)
CIE-LABlab(79.32, -3.95, 53.84)
CIE-LCHlch(79.32, 53.99, 94.20°)
OKLaboklab(82.04% -0.0139 0.1251)
OKLCHoklch(82.04% 0.126 96.4)
XYZxyz(51.2329, 55.4881, 18.3654)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC45D #5D75DC
analogous
#DC855D #DCC45D #B5DC5D
triadic
#DCC45D #5DDCC4 #C45DDC
tetradic
#DCC45D #5DDC85 #5D75DC #DC5DB5
square
#DCC45D #5DDC85 #5D75DC #DC5DB5
split-complementary
#DCC45D #5DB5DC #855DDC
monochromatic
#9D8622 #CFB02D #DCC45D #E7D68F #F2E9C2

Accessibility & contrast

On white

1.74
#DCC45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#DCC45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC45D
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC45D#FFFFFF#000000##000000
##DCC45D1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C053
Deuteranopia (green-blind)
#DCC862
Tritanopia (blue-blind)
#ECB7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc45d;
/* rgb */ color: rgb(220, 196, 93);
/* oklch */ color: oklch(82.0% 0.126 96.4);
Tailwind
colors: {
  custom: {
    50: '#ead58e',
    500: '#dcc45d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc45d;
$custom-light: #ead58e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc45d",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 48.661,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82042,
    "c": 0.12585,
    "h": 96.4
  },
  "luminance": 0.55486
}

Semantic roles & 50–950 ramp

primary
#DCC45D
secondary
#3D50A1
accent
#3BCC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC45D

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

Preview Lab → · Contrast checker → · Palette generator →

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