#DCC048#DCC048

#DCC048 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 81.0% C 0.140 H 95.9°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#DCC048
RGBrgb(220, 192, 72)
HSLhsl(49, 68%, 57%)
HSVhsv(49, 67%, 86%)
CMYKcmyk(0%, 12.7%, 67.3%, 13.7%)
CIE-LABlab(78.10, -3.23, 61.72)
CIE-LCHlch(78.10, 61.81, 93.00°)
OKLaboklab(81.02% -0.0143 0.1389)
OKLCHoklch(81.02% 0.14 95.9)
XYZxyz(49.5369, 53.3853, 13.8248)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC048 #4864DC
analogous
#DC7648 #DCC048 #AEDC48
triadic
#DCC048 #48DCC0 #C048DC
tetradic
#DCC048 #48DC76 #4864DC #DC48AE
square
#DCC048 #48DC76 #4864DC #DC48AE
split-complementary
#DCC048 #48AEDC #7648DC
monochromatic
#8E791B #C2A425 #DCC048 #E6D27B #F0E3AF

Accessibility & contrast

On white

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

On black

11.68
#DCC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC048
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC048#FFFFFF#000000##000000
##DCC0481.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc048;
/* rgb */ color: rgb(220, 192, 72);
/* oklch */ color: oklch(81.0% 0.140 95.9);
Tailwind
colors: {
  custom: {
    50: '#ebd281',
    500: '#dcc048',
    950: '#000000',
  },
}
SCSS
$custom: #dcc048;
$custom-light: #ebd281;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc048",
  "rgb": {
    "r": 220,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 48.649,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81017,
    "c": 0.13964,
    "h": 95.9
  },
  "luminance": 0.53383
}

Semantic roles & 50–950 ramp

primary
#DCC048
secondary
#354794
accent
#5EEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC048

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

Preview Lab → · Contrast checker → · Palette generator →

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