#DCC45E#DCC45E

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

Color values

HEX#DCC45E
RGBrgb(220, 196, 94)
HSLhsl(49, 64%, 62%)
HSVhsv(49, 57%, 86%)
CMYKcmyk(0%, 10.9%, 57.3%, 13.7%)
CIE-LABlab(79.33, -3.88, 53.39)
CIE-LCHlch(79.33, 53.53, 94.15°)
OKLaboklab(82.05% -0.0136 0.1242)
OKLCHoklch(82.05% 0.125 96.3)
XYZxyz(51.2775, 55.5060, 18.6002)
Luminance0.5550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC45E #5E76DC
analogous
#DC855E #DCC45E #B5DC5E
triadic
#DCC45E #5EDCC4 #C45EDC
tetradic
#DCC45E #5EDC85 #5E76DC #DC5EB5
square
#DCC45E #5EDC85 #5E76DC #DC5EB5
split-complementary
#DCC45E #5EB5DC #855EDC
monochromatic
#9D8622 #D0B12D #DCC45E #E7D690 #F2E9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC45E#FFFFFF#000000##000000
##DCC45E1.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)
#D5C054
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#ECB7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc45e;
/* rgb */ color: rgb(220, 196, 94);
/* oklch */ color: oklch(82.1% 0.125 96.3);
Tailwind
colors: {
  custom: {
    50: '#ead58f',
    500: '#dcc45e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc45e;
$custom-light: #ead58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc45e",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 94
  },
  "hsl": {
    "h": 48.571,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82054,
    "c": 0.12496,
    "h": 96.3
  },
  "luminance": 0.55504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC45E

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

Preview Lab → · Contrast checker → · Palette generator →

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