#DCC15C#DCC15C

#DCC15C is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.124 H 94.5°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#DCC15C
RGBrgb(220, 193, 92)
HSLhsl(47, 65%, 61%)
HSVhsv(47, 58%, 86%)
CMYKcmyk(0%, 12.3%, 58.2%, 13.7%)
CIE-LABlab(78.54, -2.47, 53.41)
CIE-LCHlch(78.54, 53.47, 92.65°)
OKLaboklab(81.42% -0.0098 0.124)
OKLCHoklch(81.42% 0.124 94.5)
XYZxyz(50.5190, 54.1307, 17.9104)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC15C #5C77DC
analogous
#DC815C #DCC15C #B7DC5C
triadic
#DCC15C #5CDCC1 #C15CDC
tetradic
#DCC15C #5CDC81 #5C77DC #DC5CB7
square
#DCC15C #5CDC81 #5C77DC #DC5CB7
split-complementary
#DCC15C #5CB7DC #815CDC
monochromatic
#9C8222 #CEAC2C #DCC15C #E7D48E #F2E7C1

Accessibility & contrast

On white

1.78
#DCC15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#DCC15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC15C
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC15C#FFFFFF#000000##000000
##DCC15C1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD52
Deuteranopia (green-blind)
#D9C660
Tritanopia (blue-blind)
#ECB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc15c;
/* rgb */ color: rgb(220, 193, 92);
/* oklch */ color: oklch(81.4% 0.124 94.5);
Tailwind
colors: {
  custom: {
    50: '#ead38d',
    500: '#dcc15c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc15c;
$custom-light: #ead38d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc15c",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 47.344,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81419,
    "c": 0.12443,
    "h": 94.5
  },
  "luminance": 0.54128
}

Semantic roles & 50–950 ramp

primary
#DCC15C
secondary
#3C51A0
accent
#3FCC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC15C

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

Preview Lab → · Contrast checker → · Palette generator →

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