#DCCC47#DCCC47

#DCCC47 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.150 H 102.4°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#DCCC47
RGBrgb(220, 204, 71)
HSLhsl(54, 68%, 57%)
HSVhsv(54, 68%, 86%)
CMYKcmyk(0%, 7.3%, 67.7%, 13.7%)
CIE-LABlab(81.21, -9.44, 65.32)
CIE-LCHlch(81.21, 65.99, 98.22°)
OKLaboklab(83.48% -0.0321 0.1463)
OKLCHoklch(83.48% 0.15 102.4)
XYZxyz(52.2476, 58.8585, 14.5687)
Luminance0.5886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC47 #4757DC
analogous
#DC8247 #DCCC47 #A2DC47
triadic
#DCCC47 #47DCCC #CC47DC
tetradic
#DCCC47 #47DC82 #4757DC #DC47A2
square
#DCCC47 #47DC82 #4757DC #DC47A2
split-complementary
#DCCC47 #47A2DC #8247DC
monochromatic
#8E811B #C1B025 #DCCC47 #E6DA7A #F0E9AE

Accessibility & contrast

On white

1.64
#DCCC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#DCCC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC47
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC47#FFFFFF#000000##000000
##DCCC471.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC634
Deuteranopia (green-blind)
#E3CD4F
Tritanopia (blue-blind)
#ECBEB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccc47;
/* rgb */ color: rgb(220, 204, 71);
/* oklch */ color: oklch(83.5% 0.150 102.4);
Tailwind
colors: {
  custom: {
    50: '#eadb81',
    500: '#dccc47',
    950: '#000000',
  },
}
SCSS
$custom: #dccc47;
$custom-light: #eadb81;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc47",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 53.557,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83482,
    "c": 0.14981,
    "h": 102.4
  },
  "luminance": 0.58856
}

Semantic roles & 50–950 ramp

primary
#DCCC47
secondary
#343E93
accent
#50EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCCC47

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

Preview Lab → · Contrast checker → · Palette generator →

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