#DCCD48#DCCD48

#DCCD48 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.150 H 102.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#DCCD48
RGBrgb(220, 205, 72)
HSLhsl(54, 68%, 57%)
HSVhsv(54, 67%, 86%)
CMYKcmyk(0%, 6.8%, 67.3%, 13.7%)
CIE-LABlab(81.48, -9.89, 65.20)
CIE-LCHlch(81.48, 65.94, 98.63°)
OKLaboklab(83.7% -0.0333 0.1462)
OKLCHoklch(83.7% 0.15 102.8)
XYZxyz(52.5184, 59.3483, 14.8186)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCD48 #4857DC
analogous
#DC8348 #DCCD48 #A1DC48
triadic
#DCCD48 #48DCCD #CD48DC
tetradic
#DCCD48 #48DC83 #4857DC #DC48A1
square
#DCCD48 #48DC83 #4857DC #DC48A1
split-complementary
#DCCD48 #48A1DC #8348DC
monochromatic
#8E831B #C2B225 #DCCD48 #E6DB7B #F0E9AF

Accessibility & contrast

On white

1.63
#DCCD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#DCCD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCD48
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCD48#FFFFFF#000000##000000
##DCCD481.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC735
Deuteranopia (green-blind)
#E4CE50
Tritanopia (blue-blind)
#ECBFB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccd48;
/* rgb */ color: rgb(220, 205, 72);
/* oklch */ color: oklch(83.7% 0.150 102.8);
Tailwind
colors: {
  custom: {
    50: '#eadb82',
    500: '#dccd48',
    950: '#000000',
  },
}
SCSS
$custom: #dccd48;
$custom-light: #eadb82;
$custom-dark: #000000;
JSON
{
  "hex": "#dccd48",
  "rgb": {
    "r": 220,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 53.919,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83698,
    "c": 0.14998,
    "h": 102.8
  },
  "luminance": 0.59346
}

Semantic roles & 50–950 ramp

primary
#DCCD48
secondary
#353E94
accent
#4FEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCCD48

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

Preview Lab → · Contrast checker → · Palette generator →

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