#DCC643#DCC643

#DCC643 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.2% C 0.148 H 99.5°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#DCC643
RGBrgb(220, 198, 67)
HSLhsl(51, 69%, 56%)
HSVhsv(51, 70%, 86%)
CMYKcmyk(0%, 10%, 69.5%, 13.7%)
CIE-LABlab(79.62, -6.59, 65.26)
CIE-LCHlch(79.62, 65.59, 95.76°)
OKLaboklab(82.21% -0.0244 0.1455)
OKLCHoklch(82.21% 0.148 99.5)
XYZxyz(50.7247, 56.0114, 13.4485)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC643 #4359DC
analogous
#DC7A43 #DCC643 #A5DC43
triadic
#DCC643 #43DCC6 #C643DC
tetradic
#DCC643 #43DC7A #4359DC #DC43A5
square
#DCC643 #43DC7A #4359DC #DC43A5
split-complementary
#DCC643 #43A5DC #7A43DC
monochromatic
#8B7B1A #BEA823 #DCC643 #E6D677 #EFE5AA

Accessibility & contrast

On white

1.72
#DCC643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#DCC643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC643
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC643#FFFFFF#000000##000000
##DCC6431.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C130
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#EDB8AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc643;
/* rgb */ color: rgb(220, 198, 67);
/* oklch */ color: oklch(82.2% 0.148 99.5);
Tailwind
colors: {
  custom: {
    50: '#ebd67f',
    500: '#dcc643',
    950: '#000000',
  },
}
SCSS
$custom: #dcc643;
$custom-light: #ebd67f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc643",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 51.373,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82208,
    "c": 0.14757,
    "h": 99.5
  },
  "luminance": 0.56009
}

Semantic roles & 50–950 ramp

primary
#DCC643
secondary
#334090
accent
#56EB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCC643

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

Preview Lab → · Contrast checker → · Palette generator →

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