#DCC743#DCC743

#DCC743 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.148 H 100.1°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#DCC743
RGBrgb(220, 199, 67)
HSLhsl(52, 69%, 56%)
HSVhsv(52, 70%, 86%)
CMYKcmyk(0%, 9.5%, 69.5%, 13.7%)
CIE-LABlab(79.88, -7.10, 65.52)
CIE-LCHlch(79.88, 65.90, 96.18°)
OKLaboklab(82.42% -0.0259 0.1461)
OKLCHoklch(82.42% 0.148 100.1)
XYZxyz(50.9541, 56.4701, 13.5250)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC743 #4358DC
analogous
#DC7B43 #DCC743 #A5DC43
triadic
#DCC743 #43DCC7 #C743DC
tetradic
#DCC743 #43DC7B #4358DC #DC43A5
square
#DCC743 #43DC7B #4358DC #DC43A5
split-complementary
#DCC743 #43A5DC #7B43DC
monochromatic
#8B7B1A #BEA923 #DCC743 #E6D677 #EFE6AA

Accessibility & contrast

On white

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

On black

12.29
#DCC743 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC743
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC743#FFFFFF#000000##000000
##DCC7431.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc743;
/* rgb */ color: rgb(220, 199, 67);
/* oklch */ color: oklch(82.4% 0.148 100.1);
Tailwind
colors: {
  custom: {
    50: '#ebd77f',
    500: '#dcc743',
    950: '#000000',
  },
}
SCSS
$custom: #dcc743;
$custom-light: #ebd77f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc743",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 67
  },
  "hsl": {
    "h": 51.765,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82415,
    "c": 0.14836,
    "h": 100.1
  },
  "luminance": 0.56468
}

Semantic roles & 50–950 ramp

primary
#DCC743
secondary
#334090
accent
#54EB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC743

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

Preview Lab → · Contrast checker → · Palette generator →

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