#DCC448#DCC448

#DCC448 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.143 H 98.2°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DCC448
RGBrgb(220, 196, 72)
HSLhsl(50, 68%, 57%)
HSVhsv(50, 67%, 86%)
CMYKcmyk(0%, 10.9%, 67.3%, 13.7%)
CIE-LABlab(79.14, -5.30, 62.79)
CIE-LCHlch(79.14, 63.02, 94.82°)
OKLaboklab(81.84% -0.0202 0.1412)
OKLCHoklch(81.84% 0.143 98.2)
XYZxyz(50.4271, 55.1658, 14.1215)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC448 #4860DC
analogous
#DC7A48 #DCC448 #AADC48
triadic
#DCC448 #48DCC4 #C448DC
tetradic
#DCC448 #48DC7A #4860DC #DC48AA
square
#DCC448 #48DC7A #4860DC #DC48AA
split-complementary
#DCC448 #48AADC #7A48DC
monochromatic
#8E7C1B #C2A825 #DCC448 #E6D57B #F0E5AF

Accessibility & contrast

On white

1.75
#DCC448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DCC448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC448
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC448#FFFFFF#000000##000000
##DCC4481.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF37
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#EDB6AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc448;
/* rgb */ color: rgb(220, 196, 72);
/* oklch */ color: oklch(81.8% 0.143 98.2);
Tailwind
colors: {
  custom: {
    50: '#ead581',
    500: '#dcc448',
    950: '#000000',
  },
}
SCSS
$custom: #dcc448;
$custom-light: #ead581;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc448",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 50.27,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81836,
    "c": 0.1426,
    "h": 98.2
  },
  "luminance": 0.55163
}

Semantic roles & 50–950 ramp

primary
#DCC448
secondary
#354494
accent
#59EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC448

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

Preview Lab → · Contrast checker → · Palette generator →

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