#DCCC46#DCCC46

#DCCC46 is a very light, vivid yellow. Relative luminance 0.588; 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#DCCC46
RGBrgb(220, 204, 70)
HSLhsl(54, 68%, 57%)
HSVhsv(54, 68%, 86%)
CMYKcmyk(0%, 7.3%, 68.2%, 13.7%)
CIE-LABlab(81.21, -9.49, 65.70)
CIE-LCHlch(81.21, 66.38, 98.22°)
OKLaboklab(83.47% -0.0324 0.147)
OKLCHoklch(83.47% 0.15 102.4)
XYZxyz(52.2158, 58.8457, 14.4011)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC46 #4656DC
analogous
#DC8146 #DCCC46 #A1DC46
triadic
#DCCC46 #46DCCC #CC46DC
tetradic
#DCCC46 #46DC81 #4656DC #DC46A1
square
#DCCC46 #46DC81 #4656DC #DC46A1
split-complementary
#DCCC46 #46A1DC #8146DC
monochromatic
#8D811B #C0B024 #DCCC46 #E6DA79 #EFE8AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCCC46#FFFFFF#000000##000000
##DCCC461.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)
#DEC633
Deuteranopia (green-blind)
#E3CD4E
Tritanopia (blue-blind)
#ECBEB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccc46;
/* rgb */ color: rgb(220, 204, 70);
/* oklch */ color: oklch(83.5% 0.150 102.4);
Tailwind
colors: {
  custom: {
    50: '#eadb81',
    500: '#dccc46',
    950: '#000000',
  },
}
SCSS
$custom: #dccc46;
$custom-light: #eadb81;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc46",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 53.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83474,
    "c": 0.15049,
    "h": 102.4
  },
  "luminance": 0.58844
}

Semantic roles & 50–950 ramp

primary
#DCCC46
secondary
#343E92
accent
#4FEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCCC46

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

Preview Lab → · Contrast checker → · Palette generator →

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