#DCCA51#DCCA51

#DCCA51 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.141 H 100.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#DCCA51
RGBrgb(220, 202, 81)
HSLhsl(52, 67%, 59%)
HSVhsv(52, 63%, 86%)
CMYKcmyk(0%, 8.2%, 63.2%, 13.7%)
CIE-LABlab(80.77, -7.84, 60.77)
CIE-LCHlch(80.77, 61.27, 97.35°)
OKLaboklab(83.15% -0.0265 0.1383)
OKLCHoklch(83.15% 0.141 100.8)
XYZxyz(52.1230, 58.0530, 16.2428)
Luminance0.5805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA51 #5163DC
analogous
#DC8551 #DCCA51 #A9DC51
triadic
#DCCA51 #51DCCA #CA51DC
tetradic
#DCCA51 #51DC85 #5163DC #DC51A9
square
#DCCA51 #51DC85 #5163DC #DC51A9
split-complementary
#DCCA51 #51A9DC #8551DC
monochromatic
#95851E #C8B328 #DCCA51 #E6DA84 #F0E9B7

Accessibility & contrast

On white

1.67
#DCCA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#DCCA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA51
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA51#FFFFFF#000000##000000
##DCCA511.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC443
Deuteranopia (green-blind)
#E1CC58
Tritanopia (blue-blind)
#ECBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcca51;
/* rgb */ color: rgb(220, 202, 81);
/* oklch */ color: oklch(83.2% 0.141 100.8);
Tailwind
colors: {
  custom: {
    50: '#ead987',
    500: '#dcca51',
    950: '#000000',
  },
}
SCSS
$custom: #dcca51;
$custom-light: #ead987;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca51",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 52.23,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83153,
    "c": 0.14079,
    "h": 100.8
  },
  "luminance": 0.58051
}

Semantic roles & 50–950 ramp

primary
#DCCA51
secondary
#384599
accent
#55E93E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCA51

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

Preview Lab → · Contrast checker → · Palette generator →

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