#DCC748#DCC748

#DCC748 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.5% C 0.145 H 99.8°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#DCC748
RGBrgb(220, 199, 72)
HSLhsl(51, 68%, 57%)
HSVhsv(51, 67%, 86%)
CMYKcmyk(0%, 9.5%, 67.3%, 13.7%)
CIE-LABlab(79.92, -6.84, 63.59)
CIE-LCHlch(79.92, 63.96, 96.14°)
OKLaboklab(82.45% -0.0246 0.1429)
OKLCHoklch(82.45% 0.145 99.8)
XYZxyz(51.1106, 56.5327, 14.3493)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC748 #485DDC
analogous
#DC7D48 #DCC748 #A7DC48
triadic
#DCC748 #48DCC7 #C748DC
tetradic
#DCC748 #48DC7D #485DDC #DC48A7
square
#DCC748 #48DC7D #485DDC #DC48A7
split-complementary
#DCC748 #48A7DC #7D48DC
monochromatic
#8E7E1B #C2AC25 #DCC748 #E6D77B #F0E6AF

Accessibility & contrast

On white

1.71
#DCC748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#DCC748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC748
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC748#FFFFFF#000000##000000
##DCC7481.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C237
Deuteranopia (green-blind)
#DFCA4F
Tritanopia (blue-blind)
#EDB9AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc748;
/* rgb */ color: rgb(220, 199, 72);
/* oklch */ color: oklch(82.5% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#ead782',
    500: '#dcc748',
    950: '#000000',
  },
}
SCSS
$custom: #dcc748;
$custom-light: #ead782;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc748",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 51.486,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82454,
    "c": 0.14496,
    "h": 99.8
  },
  "luminance": 0.5653
}

Semantic roles & 50–950 ramp

primary
#DCC748
secondary
#354294
accent
#56EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC748

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

Preview Lab → · Contrast checker → · Palette generator →

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