#DCC139#DCC139

#DCC139 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.150 H 97.5°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#DCC139
RGBrgb(220, 193, 57)
HSLhsl(50, 70%, 54%)
HSVhsv(50, 74%, 86%)
CMYKcmyk(0%, 12.3%, 74.1%, 13.7%)
CIE-LABlab(78.26, -4.48, 67.63)
CIE-LCHlch(78.26, 67.78, 93.79°)
OKLaboklab(81.11% -0.0195 0.1487)
OKLCHoklch(81.11% 0.15 97.5)
XYZxyz(49.3262, 53.6535, 11.6281)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC139 #3954DC
analogous
#DC6F39 #DCC139 #A6DC39
triadic
#DCC139 #39DCC1 #C139DC
tetradic
#DCC139 #39DC6F #3954DC #DC39A6
square
#DCC139 #39DC6F #3954DC #DC39A6
split-complementary
#DCC139 #39A6DC #6F39DC
monochromatic
#837117 #B79E20 #DCC139 #E5D16D #EEE2A1

Accessibility & contrast

On white

1.79
#DCC139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#DCC139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC139
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC139#FFFFFF#000000##000000
##DCC1391.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC20
Deuteranopia (green-blind)
#DCC542
Tritanopia (blue-blind)
#EDB2A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc139;
/* rgb */ color: rgb(220, 193, 57);
/* oklch */ color: oklch(81.1% 0.150 97.5);
Tailwind
colors: {
  custom: {
    50: '#ebd379',
    500: '#dcc139',
    950: '#000000',
  },
}
SCSS
$custom: #dcc139;
$custom-light: #ebd379;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc139",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 50.061,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81109,
    "c": 0.15,
    "h": 97.5
  },
  "luminance": 0.53651
}

Semantic roles & 50–950 ramp

primary
#DCC139
secondary
#2F3E8A
accent
#58ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCC139

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

Preview Lab → · Contrast checker → · Palette generator →

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