#DCCB48#DCCB48

#DCCB48 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.148 H 101.8°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#DCCB48
RGBrgb(220, 203, 72)
HSLhsl(53, 68%, 57%)
HSVhsv(53, 67%, 86%)
CMYKcmyk(0%, 7.7%, 67.3%, 13.7%)
CIE-LABlab(80.96, -8.88, 64.66)
CIE-LCHlch(80.96, 65.27, 97.82°)
OKLaboklab(83.28% -0.0304 0.1451)
OKLCHoklch(83.28% 0.148 101.8)
XYZxyz(52.0430, 58.3976, 14.6602)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCB48 #4859DC
analogous
#DC8148 #DCCB48 #A3DC48
triadic
#DCCB48 #48DCCB #CB48DC
tetradic
#DCCB48 #48DC81 #4859DC #DC48A3
square
#DCCB48 #48DC81 #4859DC #DC48A3
split-complementary
#DCCB48 #48A3DC #8148DC
monochromatic
#8E811B #C2B025 #DCCB48 #E6DA7B #F0E8AF

Accessibility & contrast

On white

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

On black

12.68
#DCCB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCB48
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCB48#FFFFFF#000000##000000
##DCCB481.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC536
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#ECBDB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dccb48;
/* rgb */ color: rgb(220, 203, 72);
/* oklch */ color: oklch(83.3% 0.148 101.8);
Tailwind
colors: {
  custom: {
    50: '#eada82',
    500: '#dccb48',
    950: '#000000',
  },
}
SCSS
$custom: #dccb48;
$custom-light: #eada82;
$custom-dark: #000000;
JSON
{
  "hex": "#dccb48",
  "rgb": {
    "r": 220,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 53.108,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83282,
    "c": 0.14826,
    "h": 101.8
  },
  "luminance": 0.58395
}

Semantic roles & 50–950 ramp

primary
#DCCB48
secondary
#353F94
accent
#51EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCCB48

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

Preview Lab → · Contrast checker → · Palette generator →

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