#DCC14E#DCC14E

#DCC14E is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.136 H 96.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#DCC14E
RGBrgb(220, 193, 78)
HSLhsl(49, 67%, 58%)
HSVhsv(49, 65%, 86%)
CMYKcmyk(0%, 12.3%, 64.5%, 13.7%)
CIE-LABlab(78.41, -3.40, 59.53)
CIE-LCHlch(78.41, 59.62, 93.27°)
OKLaboklab(81.27% -0.0141 0.1352)
OKLCHoklch(81.27% 0.136 96)
XYZxyz(49.9626, 53.9081, 14.9799)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC14E #4E69DC
analogous
#DC7A4E #DCC14E #B0DC4E
triadic
#DCC14E #4EDCC1 #C14EDC
tetradic
#DCC14E #4EDC7A #4E69DC #DC4EB0
square
#DCC14E #4EDC7A #4E69DC #DC4EB0
split-complementary
#DCC14E #4EB0DC #7A4EDC
monochromatic
#937C1D #C6A827 #DCC14E #E6D381 #F0E5B4

Accessibility & contrast

On white

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

On black

11.78
#DCC14E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC14E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC14E#FFFFFF#000000##000000
##DCC14E1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD40
Deuteranopia (green-blind)
#DAC654
Tritanopia (blue-blind)
#EDB3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc14e;
/* rgb */ color: rgb(220, 193, 78);
/* oklch */ color: oklch(81.3% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#ead385',
    500: '#dcc14e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc14e;
$custom-light: #ead385;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc14e",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 78
  },
  "hsl": {
    "h": 48.592,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81275,
    "c": 0.13593,
    "h": 96
  },
  "luminance": 0.53906
}

Semantic roles & 50–950 ramp

primary
#DCC14E
secondary
#374997
accent
#5FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC14E

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

Preview Lab → · Contrast checker → · Palette generator →

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