#DCCA58#DCCA58

#DCCA58 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.2% C 0.135 H 100.4°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#DCCA58
RGBrgb(220, 202, 88)
HSLhsl(52, 65%, 60%)
HSVhsv(52, 60%, 86%)
CMYKcmyk(0%, 8.2%, 60%, 13.7%)
CIE-LABlab(80.83, -7.39, 57.80)
CIE-LCHlch(80.83, 58.27, 97.28°)
OKLaboklab(83.22% -0.0244 0.1329)
OKLCHoklch(83.22% 0.135 100.4)
XYZxyz(52.3992, 58.1634, 17.6972)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA58 #586ADC
analogous
#DC8858 #DCCA58 #ACDC58
triadic
#DCCA58 #58DCCA #CA58DC
tetradic
#DCCA58 #58DC88 #586ADC #DC58AC
square
#DCCA58 #58DC88 #586ADC #DC58AC
split-complementary
#DCCA58 #58ACDC #8858DC
monochromatic
#998920 #CCB62B #DCCA58 #E7DA8B #F1EABD

Accessibility & contrast

On white

1.66
#DCCA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#DCCA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA58
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA58#FFFFFF#000000##000000
##DCCA581.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54C
Deuteranopia (green-blind)
#E0CC5E
Tritanopia (blue-blind)
#ECBDB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcca58;
/* rgb */ color: rgb(220, 202, 88);
/* oklch */ color: oklch(83.2% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#ead98b',
    500: '#dcca58',
    950: '#000000',
  },
}
SCSS
$custom: #dcca58;
$custom-light: #ead98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca58",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 51.818,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83221,
    "c": 0.13515,
    "h": 100.4
  },
  "luminance": 0.58161
}

Semantic roles & 50–950 ramp

primary
#DCCA58
secondary
#3B489E
accent
#31CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCCA58

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

Preview Lab → · Contrast checker → · Palette generator →

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