#DCC54E#DCC54E

#DCC54E is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.1% C 0.139 H 98.3°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#DCC54E
RGBrgb(220, 197, 78)
HSLhsl(50, 67%, 58%)
HSVhsv(50, 65%, 86%)
CMYKcmyk(0%, 10.5%, 64.5%, 13.7%)
CIE-LABlab(79.44, -5.47, 60.63)
CIE-LCHlch(79.44, 60.87, 95.15°)
OKLaboklab(82.09% -0.02 0.1375)
OKLCHoklch(82.09% 0.139 98.3)
XYZxyz(50.8588, 55.7006, 15.2786)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC54E #4E65DC
analogous
#DC7E4E #DCC54E #ACDC4E
triadic
#DCC54E #4EDCC5 #C54EDC
tetradic
#DCC54E #4EDC7E #4E65DC #DC4EAC
square
#DCC54E #4EDC7E #4E65DC #DC4EAC
split-complementary
#DCC54E #4EACDC #7E4EDC
monochromatic
#93801D #C6AC27 #DCC54E #E6D681 #F0E6B4

Accessibility & contrast

On white

1.73
#DCC54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#DCC54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC54E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC54E#FFFFFF#000000##000000
##DCC54E1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C040
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#ECB7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc54e;
/* rgb */ color: rgb(220, 197, 78);
/* oklch */ color: oklch(82.1% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#ead685',
    500: '#dcc54e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc54e;
$custom-light: #ead685;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc54e",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 50.282,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82094,
    "c": 0.13898,
    "h": 98.3
  },
  "luminance": 0.55698
}

Semantic roles & 50–950 ramp

primary
#DCC54E
secondary
#374697
accent
#5AEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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