#DCC948#DCC948

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

Color values

HEX#DCC948
RGBrgb(220, 201, 72)
HSLhsl(52, 68%, 57%)
HSVhsv(52, 67%, 86%)
CMYKcmyk(0%, 8.6%, 67.3%, 13.7%)
CIE-LABlab(80.44, -7.86, 64.13)
CIE-LCHlch(80.44, 64.61, 96.99°)
OKLaboklab(82.87% -0.0275 0.144)
OKLCHoklch(82.87% 0.147 100.8)
XYZxyz(51.5738, 57.4591, 14.5037)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC948 #485BDC
analogous
#DC7F48 #DCC948 #A5DC48
triadic
#DCC948 #48DCC9 #C948DC
tetradic
#DCC948 #48DC7F #485BDC #DC48A5
square
#DCC948 #48DC7F #485BDC #DC48A5
split-complementary
#DCC948 #48A5DC #7F48DC
monochromatic
#8E801B #C2AE25 #DCC948 #E6D87B #F0E7AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC948#FFFFFF#000000##000000
##DCC9481.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)
#DBC336
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#ECBBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc948;
/* rgb */ color: rgb(220, 201, 72);
/* oklch */ color: oklch(82.9% 0.147 100.8);
Tailwind
colors: {
  custom: {
    50: '#ead982',
    500: '#dcc948',
    950: '#000000',
  },
}
SCSS
$custom: #dcc948;
$custom-light: #ead982;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc948",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 72
  },
  "hsl": {
    "h": 52.297,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82868,
    "c": 0.14659,
    "h": 100.8
  },
  "luminance": 0.57457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC948

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

Preview Lab → · Contrast checker → · Palette generator →

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