#DCC84F#DCC84F

#DCC84F is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.141 H 99.9°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#DCC84F
RGBrgb(220, 200, 79)
HSLhsl(51, 67%, 59%)
HSVhsv(51, 64%, 86%)
CMYKcmyk(0%, 9.1%, 64.1%, 13.7%)
CIE-LABlab(80.23, -6.95, 61.04)
CIE-LCHlch(80.23, 61.44, 96.49°)
OKLaboklab(82.72% -0.0241 0.1386)
OKLCHoklch(82.72% 0.141 99.9)
XYZxyz(51.5829, 57.0910, 15.6982)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC84F #4F63DC
analogous
#DC814F #DCC84F #AADC4F
triadic
#DCC84F #4FDCC8 #C84FDC
tetradic
#DCC84F #4FDC81 #4F63DC #DC4FAA
square
#DCC84F #4FDC81 #4F63DC #DC4FAA
split-complementary
#DCC84F #4FAADC #814FDC
monochromatic
#93831D #C6B027 #DCC84F #E6D882 #F0E8B5

Accessibility & contrast

On white

1.69
#DCC84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#DCC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC84F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC84F#FFFFFF#000000##000000
##DCC84F1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#E0CA56
Tritanopia (blue-blind)
#ECBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc84f;
/* rgb */ color: rgb(220, 200, 79);
/* oklch */ color: oklch(82.7% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#ead886',
    500: '#dcc84f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc84f;
$custom-light: #ead886;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc84f",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 51.489,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82721,
    "c": 0.14065,
    "h": 99.9
  },
  "luminance": 0.57089
}

Semantic roles & 50–950 ramp

primary
#DCC84F
secondary
#374598
accent
#56EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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