#DCC45C#DCC45C

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

Color values

HEX#DCC45C
RGBrgb(220, 196, 92)
HSLhsl(49, 65%, 61%)
HSVhsv(49, 58%, 86%)
CMYKcmyk(0%, 10.9%, 58.2%, 13.7%)
CIE-LABlab(79.31, -4.02, 54.29)
CIE-LCHlch(79.31, 54.44, 94.24°)
OKLaboklab(82.03% -0.0143 0.1259)
OKLCHoklch(82.03% 0.127 96.5)
XYZxyz(51.1889, 55.4705, 18.1337)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC45C #5C74DC
analogous
#DC845C #DCC45C #B4DC5C
triadic
#DCC45C #5CDCC4 #C45CDC
tetradic
#DCC45C #5CDC84 #5C74DC #DC5CB4
square
#DCC45C #5CDC84 #5C74DC #DC5CB4
split-complementary
#DCC45C #5CB4DC #845CDC
monochromatic
#9C8522 #CEB02C #DCC45C #E7D68E #F2E8C1

Accessibility & contrast

On white

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

On black

12.09
#DCC45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC45C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC45C#FFFFFF#000000##000000
##DCC45C1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc45c;
/* rgb */ color: rgb(220, 196, 92);
/* oklch */ color: oklch(82.0% 0.127 96.5);
Tailwind
colors: {
  custom: {
    50: '#ead58d',
    500: '#dcc45c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc45c;
$custom-light: #ead58d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc45c",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 92
  },
  "hsl": {
    "h": 48.75,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82031,
    "c": 0.12673,
    "h": 96.5
  },
  "luminance": 0.55468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC45C

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

Preview Lab → · Contrast checker → · Palette generator →

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