#DCC45B#DCC45B

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

Color values

HEX#DCC45B
RGBrgb(220, 196, 91)
HSLhsl(49, 65%, 61%)
HSVhsv(49, 59%, 86%)
CMYKcmyk(0%, 10.9%, 58.6%, 13.7%)
CIE-LABlab(79.30, -4.10, 54.74)
CIE-LCHlch(79.30, 54.89, 94.28°)
OKLaboklab(82.02% -0.0146 0.1268)
OKLCHoklch(82.02% 0.128 96.6)
XYZxyz(51.1455, 55.4531, 17.9050)
Luminance0.5545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC45B #5B73DC
analogous
#DC835B #DCC45B #B3DC5B
triadic
#DCC45B #5BDCC4 #C45BDC
tetradic
#DCC45B #5BDC83 #5B73DC #DC5BB3
square
#DCC45B #5BDC83 #5B73DC #DC5BB3
split-complementary
#DCC45B #5BB3DC #835BDC
monochromatic
#9B8521 #CEB02C #DCC45B #E7D68D #F2E8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC45B#FFFFFF#000000##000000
##DCC45B1.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)
#D5C050
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#ECB7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc45b;
/* rgb */ color: rgb(220, 196, 91);
/* oklch */ color: oklch(82.0% 0.128 96.6);
Tailwind
colors: {
  custom: {
    50: '#ead58d',
    500: '#dcc45b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc45b;
$custom-light: #ead58d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc45b",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 91
  },
  "hsl": {
    "h": 48.837,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8202,
    "c": 0.12761,
    "h": 96.6
  },
  "luminance": 0.55451
}

Semantic roles & 50–950 ramp

primary
#DCC45B
secondary
#3C4E9F
accent
#3ACD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC45B

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

Preview Lab → · Contrast checker → · Palette generator →

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