#DCC94B#DCC94B

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

Color values

HEX#DCC94B
RGBrgb(220, 201, 75)
HSLhsl(52, 67%, 58%)
HSVhsv(52, 66%, 86%)
CMYKcmyk(0%, 8.6%, 65.9%, 13.7%)
CIE-LABlab(80.46, -7.69, 62.94)
CIE-LCHlch(80.46, 63.41, 96.97°)
OKLaboklab(82.89% -0.0267 0.142)
OKLCHoklch(82.89% 0.144 100.7)
XYZxyz(51.6740, 57.4992, 15.0318)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC94B #4B5EDC
analogous
#DC804B #DCC94B #A6DC4B
triadic
#DCC94B #4BDCC9 #C94BDC
tetradic
#DCC94B #4BDC80 #4B5EDC #DC4BA6
square
#DCC94B #4BDC80 #4B5EDC #DC4BA6
split-complementary
#DCC94B #4BA6DC #804BDC
monochromatic
#91811C #C4AF26 #DCC94B #E6D87E #F0E8B1

Accessibility & contrast

On white

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

On black

12.50
#DCC94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC94B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC94B#FFFFFF#000000##000000
##DCC94B1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc94b;
/* rgb */ color: rgb(220, 201, 75);
/* oklch */ color: oklch(82.9% 0.144 100.7);
Tailwind
colors: {
  custom: {
    50: '#ead983',
    500: '#dcc94b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc94b;
$custom-light: #ead983;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc94b",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 52.138,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82893,
    "c": 0.14445,
    "h": 100.7
  },
  "luminance": 0.57497
}

Semantic roles & 50–950 ramp

primary
#DCC94B
secondary
#364296
accent
#54EA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC94B

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

Preview Lab → · Contrast checker → · Palette generator →

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