#DCC94D#DCC94D

#DCC94D is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.143 H 100.5°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#DCC94D
RGBrgb(220, 201, 77)
HSLhsl(52, 67%, 58%)
HSVhsv(52, 65%, 86%)
CMYKcmyk(0%, 8.6%, 65%, 13.7%)
CIE-LABlab(80.48, -7.58, 62.14)
CIE-LCHlch(80.48, 62.60, 96.95°)
OKLaboklab(82.91% -0.0262 0.1406)
OKLCHoklch(82.91% 0.143 100.5)
XYZxyz(51.7436, 57.5270, 15.3980)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC94D #4D60DC
analogous
#DC814D #DCC94D #A7DC4D
triadic
#DCC94D #4DDCC9 #C94DDC
tetradic
#DCC94D #4DDC81 #4D60DC #DC4DA7
square
#DCC94D #4DDC81 #4D60DC #DC4DA7
split-complementary
#DCC94D #4DA7DC #814DDC
monochromatic
#92821D #C5B027 #DCC94D #E6D980 #F0E8B3

Accessibility & contrast

On white

1.68
#DCC94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#DCC94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC94D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC94D#FFFFFF#000000##000000
##DCC94D1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33D
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#ECBBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc94d;
/* rgb */ color: rgb(220, 201, 77);
/* oklch */ color: oklch(82.9% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#ead985',
    500: '#dcc94d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc94d;
$custom-light: #ead985;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc94d",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 52.028,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8291,
    "c": 0.14298,
    "h": 100.5
  },
  "luminance": 0.57525
}

Semantic roles & 50–950 ramp

primary
#DCC94D
secondary
#364397
accent
#55EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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