#DCCB52#DCCB52

#DCCB52 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.141 H 101.3°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DCCB52
RGBrgb(220, 203, 82)
HSLhsl(53, 66%, 59%)
HSVhsv(53, 63%, 86%)
CMYKcmyk(0%, 7.7%, 62.7%, 13.7%)
CIE-LABlab(81.04, -8.29, 60.63)
CIE-LCHlch(81.04, 61.20, 97.79°)
OKLaboklab(83.37% -0.0276 0.1381)
OKLCHoklch(83.37% 0.141 101.3)
XYZxyz(52.3962, 58.5389, 16.5202)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCB52 #5263DC
analogous
#DC8652 #DCCB52 #A8DC52
triadic
#DCCB52 #52DCCB #CB52DC
tetradic
#DCCB52 #52DC86 #5263DC #DC52A8
square
#DCCB52 #52DC86 #5263DC #DC52A8
split-complementary
#DCCB52 #52A8DC #8652DC
monochromatic
#95871E #C8B529 #DCCB52 #E6DA85 #F1EAB8

Accessibility & contrast

On white

1.65
#DCCB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#DCCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCB52
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCB52#FFFFFF#000000##000000
##DCCB521.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC544
Deuteranopia (green-blind)
#E2CC59
Tritanopia (blue-blind)
#ECBEB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dccb52;
/* rgb */ color: rgb(220, 203, 82);
/* oklch */ color: oklch(83.4% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#eada88',
    500: '#dccb52',
    950: '#000000',
  },
}
SCSS
$custom: #dccb52;
$custom-light: #eada88;
$custom-dark: #000000;
JSON
{
  "hex": "#dccb52",
  "rgb": {
    "r": 220,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 52.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83369,
    "c": 0.14087,
    "h": 101.3
  },
  "luminance": 0.58537
}

Semantic roles & 50–950 ramp

primary
#DCCB52
secondary
#38449A
accent
#54E93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCB52

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

Preview Lab → · Contrast checker → · Palette generator →

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