#DCC248#DCC248

#DCC248 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.141 H 97.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DCC248
RGBrgb(220, 194, 72)
HSLhsl(49, 68%, 57%)
HSVhsv(49, 67%, 86%)
CMYKcmyk(0%, 11.8%, 67.3%, 13.7%)
CIE-LABlab(78.62, -4.27, 62.26)
CIE-LCHlch(78.62, 62.40, 93.92°)
OKLaboklab(81.43% -0.0173 0.14)
OKLCHoklch(81.43% 0.141 97)
XYZxyz(49.9790, 54.2696, 13.9722)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC248 #4862DC
analogous
#DC7848 #DCC248 #ACDC48
triadic
#DCC248 #48DCC2 #C248DC
tetradic
#DCC248 #48DC78 #4862DC #DC48AC
square
#DCC248 #48DC78 #4862DC #DC48AC
split-complementary
#DCC248 #48ACDC #7848DC
monochromatic
#8E7A1B #C2A625 #DCC248 #E6D37B #F0E4AF

Accessibility & contrast

On white

1.77
#DCC248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#DCC248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC248
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC248#FFFFFF#000000##000000
##DCC2481.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#DCC64F
Tritanopia (blue-blind)
#EDB4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc248;
/* rgb */ color: rgb(220, 194, 72);
/* oklch */ color: oklch(81.4% 0.141 97.0);
Tailwind
colors: {
  custom: {
    50: '#ead481',
    500: '#dcc248',
    950: '#000000',
  },
}
SCSS
$custom: #dcc248;
$custom-light: #ead481;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc248",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 49.459,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81426,
    "c": 0.14109,
    "h": 97
  },
  "luminance": 0.54267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC248

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

Preview Lab → · Contrast checker → · Palette generator →

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