#DCC45A#DCC45A

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

Color values

HEX#DCC45A
RGBrgb(220, 196, 90)
HSLhsl(49, 65%, 61%)
HSVhsv(49, 59%, 86%)
CMYKcmyk(0%, 10.9%, 59.1%, 13.7%)
CIE-LABlab(79.29, -4.17, 55.19)
CIE-LCHlch(79.29, 55.34, 94.32°)
OKLaboklab(82.01% -0.0149 0.1276)
OKLCHoklch(82.01% 0.128 96.7)
XYZxyz(51.1027, 55.4360, 17.6793)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC45A #5A72DC
analogous
#DC835A #DCC45A #B3DC5A
triadic
#DCC45A #5ADCC4 #C45ADC
tetradic
#DCC45A #5ADC83 #5A72DC #DC5AB3
square
#DCC45A #5ADC83 #5A72DC #DC5AB3
split-complementary
#DCC45A #5AB3DC #835ADC
monochromatic
#9B8421 #CDAF2C #DCC45A #E7D68C #F1E8BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC45A#FFFFFF#000000##000000
##DCC45A1.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)
#D6C04F
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#ECB7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc45a;
/* rgb */ color: rgb(220, 196, 90);
/* oklch */ color: oklch(82.0% 0.128 96.7);
Tailwind
colors: {
  custom: {
    50: '#ead58c',
    500: '#dcc45a',
    950: '#000000',
  },
}
SCSS
$custom: #dcc45a;
$custom-light: #ead58c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc45a",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 48.923,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82009,
    "c": 0.12847,
    "h": 96.7
  },
  "luminance": 0.55434
}

Semantic roles & 50–950 ramp

primary
#DCC45A
secondary
#3B4E9F
accent
#3ACD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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