#DCC152#DCC152

#DCC152 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.3% C 0.133 H 95.6°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#DCC152
RGBrgb(220, 193, 82)
HSLhsl(48, 66%, 59%)
HSVhsv(48, 63%, 86%)
CMYKcmyk(0%, 12.3%, 62.7%, 13.7%)
CIE-LABlab(78.44, -3.16, 57.83)
CIE-LCHlch(78.44, 57.91, 93.12°)
OKLaboklab(81.31% -0.0129 0.1322)
OKLCHoklch(81.31% 0.133 95.6)
XYZxyz(50.1104, 53.9672, 15.7582)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC152 #526DDC
analogous
#DC7C52 #DCC152 #B2DC52
triadic
#DCC152 #52DCC1 #C152DC
tetradic
#DCC152 #52DC7C #526DDC #DC52B2
square
#DCC152 #52DC7C #526DDC #DC52B2
split-complementary
#DCC152 #52B2DC #7C52DC
monochromatic
#957E1E #C8A929 #DCC152 #E6D385 #F1E5B8

Accessibility & contrast

On white

1.78
#DCC152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#DCC152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC152
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC152#FFFFFF#000000##000000
##DCC1521.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#ECB3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc152;
/* rgb */ color: rgb(220, 193, 82);
/* oklch */ color: oklch(81.3% 0.133 95.6);
Tailwind
colors: {
  custom: {
    50: '#ead387',
    500: '#dcc152',
    950: '#000000',
  },
}
SCSS
$custom: #dcc152;
$custom-light: #ead387;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc152",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 48.261,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81313,
    "c": 0.1328,
    "h": 95.6
  },
  "luminance": 0.53965
}

Semantic roles & 50–950 ramp

primary
#DCC152
secondary
#384B9A
accent
#60E93F
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC152

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

Preview Lab → · Contrast checker → · Palette generator →

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