#DCC74B#DCC74B

#DCC74B is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.5% C 0.143 H 99.6°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#DCC74B
RGBrgb(220, 199, 75)
HSLhsl(51, 67%, 58%)
HSVhsv(51, 66%, 86%)
CMYKcmyk(0%, 9.5%, 65.9%, 13.7%)
CIE-LABlab(79.94, -6.67, 62.40)
CIE-LCHlch(79.94, 62.76, 96.10°)
OKLaboklab(82.48% -0.0238 0.1408)
OKLCHoklch(82.48% 0.143 99.6)
XYZxyz(51.2109, 56.5728, 14.8774)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC74B #4B60DC
analogous
#DC7E4B #DCC74B #A9DC4B
triadic
#DCC74B #4BDCC7 #C74BDC
tetradic
#DCC74B #4BDC7E #4B60DC #DC4BA9
square
#DCC74B #4BDC7E #4B60DC #DC4BA9
split-complementary
#DCC74B #4BA9DC #7E4BDC
monochromatic
#91801C #C4AD26 #DCC74B #E6D77E #F0E7B1

Accessibility & contrast

On white

1.71
#DCC74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#DCC74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC74B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC74B#FFFFFF#000000##000000
##DCC74B1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23B
Deuteranopia (green-blind)
#DFCA52
Tritanopia (blue-blind)
#ECB9AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc74b;
/* rgb */ color: rgb(220, 199, 75);
/* oklch */ color: oklch(82.5% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#ead783',
    500: '#dcc74b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc74b;
$custom-light: #ead783;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc74b",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 51.31,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8248,
    "c": 0.14281,
    "h": 99.6
  },
  "luminance": 0.5657
}

Semantic roles & 50–950 ramp

primary
#DCC74B
secondary
#364496
accent
#57EA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC74B

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

Preview Lab → · Contrast checker → · Palette generator →

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