#DCCA48#DCCA48

#DCCA48 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.147 H 101.3°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#DCCA48
RGBrgb(220, 202, 72)
HSLhsl(53, 68%, 57%)
HSVhsv(53, 67%, 86%)
CMYKcmyk(0%, 8.2%, 67.3%, 13.7%)
CIE-LABlab(80.70, -8.37, 64.40)
CIE-LCHlch(80.70, 64.94, 97.40°)
OKLaboklab(83.08% -0.029 0.1446)
OKLCHoklch(83.08% 0.147 101.3)
XYZxyz(51.8076, 57.9268, 14.5817)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA48 #485ADC
analogous
#DC8048 #DCCA48 #A4DC48
triadic
#DCCA48 #48DCCA #CA48DC
tetradic
#DCCA48 #48DC80 #485ADC #DC48A4
square
#DCCA48 #48DC80 #485ADC #DC48A4
split-complementary
#DCCA48 #48A4DC #8048DC
monochromatic
#8E801B #C2AF25 #DCCA48 #E6D97B #F0E8AF

Accessibility & contrast

On white

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

On black

12.59
#DCCA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA48
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA48#FFFFFF#000000##000000
##DCCA481.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#E1CC50
Tritanopia (blue-blind)
#ECBCAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcca48;
/* rgb */ color: rgb(220, 202, 72);
/* oklch */ color: oklch(83.1% 0.147 101.3);
Tailwind
colors: {
  custom: {
    50: '#ead982',
    500: '#dcca48',
    950: '#000000',
  },
}
SCSS
$custom: #dcca48;
$custom-light: #ead982;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca48",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 52.703,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83075,
    "c": 0.14742,
    "h": 101.3
  },
  "luminance": 0.57925
}

Semantic roles & 50–950 ramp

primary
#DCCA48
secondary
#354094
accent
#52EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCCA48

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

Preview Lab → · Contrast checker → · Palette generator →

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