#DCC045#DCC045

#DCC045 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 81.0% C 0.142 H 96.1°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#DCC045
RGBrgb(220, 192, 69)
HSLhsl(49, 68%, 57%)
HSVhsv(49, 69%, 86%)
CMYKcmyk(0%, 12.7%, 68.6%, 13.7%)
CIE-LABlab(78.08, -3.40, 62.92)
CIE-LCHlch(78.08, 63.01, 93.09°)
OKLaboklab(80.99% -0.0151 0.1409)
OKLCHoklch(80.99% 0.142 96.1)
XYZxyz(49.4414, 53.3471, 13.3219)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC045 #4561DC
analogous
#DC7545 #DCC045 #ADDC45
triadic
#DCC045 #45DCC0 #C045DC
tetradic
#DCC045 #45DC75 #4561DC #DC45AD
square
#DCC045 #45DC75 #4561DC #DC45AD
split-complementary
#DCC045 #45ADDC #7545DC
monochromatic
#8C771A #C0A324 #DCC045 #E6D179 #EFE3AC

Accessibility & contrast

On white

1.80
#DCC045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#DCC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC045
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC045#FFFFFF#000000##000000
##DCC0451.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#DAC54C
Tritanopia (blue-blind)
#EDB2A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcc045;
/* rgb */ color: rgb(220, 192, 69);
/* oklch */ color: oklch(81.0% 0.142 96.1);
Tailwind
colors: {
  custom: {
    50: '#ebd27f',
    500: '#dcc045',
    950: '#000000',
  },
}
SCSS
$custom: #dcc045;
$custom-light: #ebd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc045",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 48.874,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80992,
    "c": 0.14173,
    "h": 96.1
  },
  "luminance": 0.53345
}

Semantic roles & 50–950 ramp

primary
#DCC045
secondary
#334592
accent
#5DEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC045

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

Preview Lab → · Contrast checker → · Palette generator →

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