#DCCA3C#DCCA3C

#DCCA3C is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.155 H 101.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#DCCA3C
RGBrgb(220, 202, 60)
HSLhsl(53, 70%, 55%)
HSVhsv(53, 73%, 86%)
CMYKcmyk(0%, 8.2%, 72.7%, 13.7%)
CIE-LABlab(80.62, -8.96, 68.82)
CIE-LCHlch(80.62, 69.40, 97.42°)
OKLaboklab(82.99% -0.0319 0.1518)
OKLCHoklch(82.99% 0.155 101.9)
XYZxyz(51.4537, 57.7852, 12.7175)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA3C #3C4EDC
analogous
#DC7A3C #DCCA3C #9EDC3C
triadic
#DCCA3C #3CDCCA #CA3CDC
tetradic
#DCCA3C #3CDC7A #3C4EDC #DC3C9E
square
#DCCA3C #3CDC7A #3C4EDC #DC3C9E
split-complementary
#DCCA3C #3C9EDC #7A3CDC
monochromatic
#867918 #BAA821 #DCCA3C #E5D870 #EFE6A4

Accessibility & contrast

On white

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

On black

12.56
#DCCA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA3C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA3C#FFFFFF#000000##000000
##DCCA3C1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC422
Deuteranopia (green-blind)
#E2CB46
Tritanopia (blue-blind)
#EDBCAE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcca3c;
/* rgb */ color: rgb(220, 202, 60);
/* oklch */ color: oklch(83.0% 0.155 101.9);
Tailwind
colors: {
  custom: {
    50: '#ebd97b',
    500: '#dcca3c',
    950: '#000000',
  },
}
SCSS
$custom: #dcca3c;
$custom-light: #ebd97b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca3c",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 53.25,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82987,
    "c": 0.15513,
    "h": 101.9
  },
  "luminance": 0.57783
}

Semantic roles & 50–950 ramp

primary
#DCCA3C
secondary
#303B8C
accent
#4FEC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCCA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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