#DCC949#DCC949

#DCC949 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.146 H 100.8°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#DCC949
RGBrgb(220, 201, 73)
HSLhsl(52, 68%, 57%)
HSVhsv(52, 67%, 86%)
CMYKcmyk(0%, 8.6%, 66.8%, 13.7%)
CIE-LABlab(80.44, -7.80, 63.74)
CIE-LCHlch(80.44, 64.21, 96.98°)
OKLaboklab(82.88% -0.0273 0.1433)
OKLCHoklch(82.88% 0.146 100.8)
XYZxyz(51.6067, 57.4722, 14.6770)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC949 #495CDC
analogous
#DC8049 #DCC949 #A5DC49
triadic
#DCC949 #49DCC9 #C949DC
tetradic
#DCC949 #49DC80 #495CDC #DC49A5
square
#DCC949 #49DC80 #495CDC #DC49A5
split-complementary
#DCC949 #49A5DC #8049DC
monochromatic
#8F801C #C2AE25 #DCC949 #E6D87C #F0E7B0

Accessibility & contrast

On white

1.68
#DCC949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#DCC949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC949
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC949#FFFFFF#000000##000000
##DCC9491.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC338
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#ECBBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc949;
/* rgb */ color: rgb(220, 201, 73);
/* oklch */ color: oklch(82.9% 0.146 100.8);
Tailwind
colors: {
  custom: {
    50: '#ead982',
    500: '#dcc949',
    950: '#000000',
  },
}
SCSS
$custom: #dcc949;
$custom-light: #ead982;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc949",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 52.245,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82876,
    "c": 0.14589,
    "h": 100.8
  },
  "luminance": 0.5747
}

Semantic roles & 50–950 ramp

primary
#DCC949
secondary
#354194
accent
#54EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC949

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

Preview Lab → · Contrast checker → · Palette generator →

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