#DCC15B#DCC15B

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

Color values

HEX#DCC15B
RGBrgb(220, 193, 91)
HSLhsl(47, 65%, 61%)
HSVhsv(47, 59%, 86%)
CMYKcmyk(0%, 12.3%, 58.6%, 13.7%)
CIE-LABlab(78.53, -2.54, 53.86)
CIE-LCHlch(78.53, 53.92, 92.70°)
OKLaboklab(81.41% -0.0101 0.1249)
OKLCHoklch(81.41% 0.125 94.6)
XYZxyz(50.4756, 54.1133, 17.6817)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC15B #5B76DC
analogous
#DC805B #DCC15B #B6DC5B
triadic
#DCC15B #5BDCC1 #C15BDC
tetradic
#DCC15B #5BDC80 #5B76DC #DC5BB6
square
#DCC15B #5BDC80 #5B76DC #DC5BB6
split-complementary
#DCC15B #5BB6DC #805BDC
monochromatic
#9B8221 #CEAC2C #DCC15B #E7D48D #F2E7C0

Accessibility & contrast

On white

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

On black

11.82
#DCC15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC15B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC15B#FFFFFF#000000##000000
##DCC15B1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc15b;
/* rgb */ color: rgb(220, 193, 91);
/* oklch */ color: oklch(81.4% 0.125 94.6);
Tailwind
colors: {
  custom: {
    50: '#ead38d',
    500: '#dcc15b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc15b;
$custom-light: #ead38d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc15b",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 47.442,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81408,
    "c": 0.12529,
    "h": 94.6
  },
  "luminance": 0.54111
}

Semantic roles & 50–950 ramp

primary
#DCC15B
secondary
#3C519F
accent
#3ECD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC15B

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

Preview Lab → · Contrast checker → · Palette generator →

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