#DCC14F#DCC14F

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

Color values

HEX#DCC14F
RGBrgb(220, 193, 79)
HSLhsl(49, 67%, 59%)
HSVhsv(49, 64%, 86%)
CMYKcmyk(0%, 12.3%, 64.1%, 13.7%)
CIE-LABlab(78.42, -3.34, 59.10)
CIE-LCHlch(78.42, 59.20, 93.24°)
OKLaboklab(81.28% -0.0138 0.1344)
OKLCHoklch(81.28% 0.135 95.9)
XYZxyz(49.9987, 53.9226, 15.1701)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC14F #4F6ADC
analogous
#DC7A4F #DCC14F #B0DC4F
triadic
#DCC14F #4FDCC1 #C14FDC
tetradic
#DCC14F #4FDC7A #4F6ADC #DC4FB0
square
#DCC14F #4FDC7A #4F6ADC #DC4FB0
split-complementary
#DCC14F #4FB0DC #7A4FDC
monochromatic
#937D1D #C6A827 #DCC14F #E6D382 #F0E5B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC14F#FFFFFF#000000##000000
##DCC14F1.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)
#D3BD42
Deuteranopia (green-blind)
#DAC655
Tritanopia (blue-blind)
#EDB3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc14f;
/* rgb */ color: rgb(220, 193, 79);
/* oklch */ color: oklch(81.3% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#ead385',
    500: '#dcc14f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc14f;
$custom-light: #ead385;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc14f",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 48.511,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81284,
    "c": 0.13516,
    "h": 95.9
  },
  "luminance": 0.5392
}

Semantic roles & 50–950 ramp

primary
#DCC14F
secondary
#374A98
accent
#5FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC14F

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

Preview Lab → · Contrast checker → · Palette generator →

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