#DCC843#DCC843

#DCC843 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.149 H 100.6°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#DCC843
RGBrgb(220, 200, 67)
HSLhsl(52, 69%, 56%)
HSVhsv(52, 70%, 86%)
CMYKcmyk(0%, 9.1%, 69.5%, 13.7%)
CIE-LABlab(80.14, -7.61, 65.78)
CIE-LCHlch(80.14, 66.22, 96.60°)
OKLaboklab(82.62% -0.0273 0.1466)
OKLCHoklch(82.62% 0.149 100.6)
XYZxyz(51.1849, 56.9318, 13.6019)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC843 #4357DC
analogous
#DC7C43 #DCC843 #A4DC43
triadic
#DCC843 #43DCC8 #C843DC
tetradic
#DCC843 #43DC7C #4357DC #DC43A4
square
#DCC843 #43DC7C #4357DC #DC43A4
split-complementary
#DCC843 #43A4DC #7C43DC
monochromatic
#8B7C1A #BEAA23 #DCC843 #E6D777 #EFE6AA

Accessibility & contrast

On white

1.70
#DCC843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#DCC843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC843
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC843#FFFFFF#000000##000000
##DCC8431.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22F
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#EDBAAD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc843;
/* rgb */ color: rgb(220, 200, 67);
/* oklch */ color: oklch(82.6% 0.149 100.6);
Tailwind
colors: {
  custom: {
    50: '#ebd87f',
    500: '#dcc843',
    950: '#000000',
  },
}
SCSS
$custom: #dcc843;
$custom-light: #ebd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc843",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 52.157,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82622,
    "c": 0.14916,
    "h": 100.6
  },
  "luminance": 0.56929
}

Semantic roles & 50–950 ramp

primary
#DCC843
secondary
#333F90
accent
#53EB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC843

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

Preview Lab → · Contrast checker → · Palette generator →

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