#DCC348#DCC348

#DCC348 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.142 H 97.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#DCC348
RGBrgb(220, 195, 72)
HSLhsl(50, 68%, 57%)
HSVhsv(50, 67%, 86%)
CMYKcmyk(0%, 11.4%, 67.3%, 13.7%)
CIE-LABlab(78.88, -4.78, 62.52)
CIE-LCHlch(78.88, 62.71, 94.38°)
OKLaboklab(81.63% -0.0188 0.1406)
OKLCHoklch(81.63% 0.142 97.6)
XYZxyz(50.2023, 54.7162, 14.0466)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC348 #4861DC
analogous
#DC7948 #DCC348 #ABDC48
triadic
#DCC348 #48DCC3 #C348DC
tetradic
#DCC348 #48DC79 #4861DC #DC48AB
square
#DCC348 #48DC79 #4861DC #DC48AB
split-complementary
#DCC348 #48ABDC #7948DC
monochromatic
#8E7B1B #C2A725 #DCC348 #E6D47B #F0E5AF

Accessibility & contrast

On white

1.76
#DCC348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#DCC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC348
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC348#FFFFFF#000000##000000
##DCC3481.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE38
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#EDB5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc348;
/* rgb */ color: rgb(220, 195, 72);
/* oklch */ color: oklch(81.6% 0.142 97.6);
Tailwind
colors: {
  custom: {
    50: '#ead481',
    500: '#dcc348',
    950: '#000000',
  },
}
SCSS
$custom: #dcc348;
$custom-light: #ead481;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc348",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 49.865,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81631,
    "c": 0.14184,
    "h": 97.6
  },
  "luminance": 0.54714
}

Semantic roles & 50–950 ramp

primary
#DCC348
secondary
#354594
accent
#5AEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC348

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

Preview Lab → · Contrast checker → · Palette generator →

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