#DCC848#DCC848

#DCC848 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.146 H 100.3°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#DCC848
RGBrgb(220, 200, 72)
HSLhsl(52, 68%, 57%)
HSVhsv(52, 67%, 86%)
CMYKcmyk(0%, 9.1%, 67.3%, 13.7%)
CIE-LABlab(80.18, -7.35, 63.86)
CIE-LCHlch(80.18, 64.28, 96.56°)
OKLaboklab(82.66% -0.0261 0.1434)
OKLCHoklch(82.66% 0.146 100.3)
XYZxyz(51.3414, 56.9944, 14.4263)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC848 #485CDC
analogous
#DC7E48 #DCC848 #A6DC48
triadic
#DCC848 #48DCC8 #C848DC
tetradic
#DCC848 #48DC7E #485CDC #DC48A6
square
#DCC848 #48DC7E #485CDC #DC48A6
split-complementary
#DCC848 #48A6DC #7E48DC
monochromatic
#8E7F1B #C2AD25 #DCC848 #E6D77B #F0E7AF

Accessibility & contrast

On white

1.69
#DCC848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#DCC848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC848
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC848#FFFFFF#000000##000000
##DCC8481.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC237
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#ECBAAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc848;
/* rgb */ color: rgb(220, 200, 72);
/* oklch */ color: oklch(82.7% 0.146 100.3);
Tailwind
colors: {
  custom: {
    50: '#ead882',
    500: '#dcc848',
    950: '#000000',
  },
}
SCSS
$custom: #dcc848;
$custom-light: #ead882;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc848",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 51.892,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82661,
    "c": 0.14577,
    "h": 100.3
  },
  "luminance": 0.56992
}

Semantic roles & 50–950 ramp

primary
#DCC848
secondary
#354194
accent
#55EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC848

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

Preview Lab → · Contrast checker → · Palette generator →

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