#DCC14B#DCC14B

#DCC14B is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.138 H 96.2°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#DCC14B
RGBrgb(220, 193, 75)
HSLhsl(49, 67%, 58%)
HSVhsv(49, 66%, 86%)
CMYKcmyk(0%, 12.3%, 65.9%, 13.7%)
CIE-LABlab(78.38, -3.58, 60.77)
CIE-LCHlch(78.38, 60.88, 93.37°)
OKLaboklab(81.25% -0.015 0.1374)
OKLCHoklch(81.25% 0.138 96.2)
XYZxyz(49.8575, 53.8661, 14.4263)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC14B #4B66DC
analogous
#DC794B #DCC14B #AEDC4B
triadic
#DCC14B #4BDCC1 #C14BDC
tetradic
#DCC14B #4BDC79 #4B66DC #DC4BAE
square
#DCC14B #4BDC79 #4B66DC #DC4BAE
split-complementary
#DCC14B #4BAEDC #794BDC
monochromatic
#917B1C #C4A626 #DCC14B #E6D37E #F0E4B1

Accessibility & contrast

On white

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

On black

11.77
#DCC14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC14B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC14B#FFFFFF#000000##000000
##DCC14B1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3C
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#EDB3A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc14b;
/* rgb */ color: rgb(220, 193, 75);
/* oklch */ color: oklch(81.2% 0.138 96.2);
Tailwind
colors: {
  custom: {
    50: '#ead383',
    500: '#dcc14b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc14b;
$custom-light: #ead383;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc14b",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 48.828,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81248,
    "c": 0.13818,
    "h": 96.2
  },
  "luminance": 0.53864
}

Semantic roles & 50–950 ramp

primary
#DCC14B
secondary
#364796
accent
#5EEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC14B

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

Preview Lab → · Contrast checker → · Palette generator →

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