#DCC74F#DCC74F

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

Color values

HEX#DCC74F
RGBrgb(220, 199, 79)
HSLhsl(51, 67%, 59%)
HSVhsv(51, 64%, 86%)
CMYKcmyk(0%, 9.5%, 64.1%, 13.7%)
CIE-LABlab(79.97, -6.43, 60.77)
CIE-LCHlch(79.97, 61.11, 96.04°)
OKLaboklab(82.52% -0.0227 0.138)
OKLCHoklch(82.52% 0.14 99.3)
XYZxyz(51.3521, 56.6293, 15.6212)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC74F #4F64DC
analogous
#DC804F #DCC74F #AADC4F
triadic
#DCC74F #4FDCC7 #C74FDC
tetradic
#DCC74F #4FDC80 #4F64DC #DC4FAA
square
#DCC74F #4FDC80 #4F64DC #DC4FAA
split-complementary
#DCC74F #4FAADC #804FDC
monochromatic
#93821D #C6AF27 #DCC74F #E6D782 #F0E7B5

Accessibility & contrast

On white

1.70
#DCC74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#DCC74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC74F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC74F#FFFFFF#000000##000000
##DCC74F1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#ECB9AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc74f;
/* rgb */ color: rgb(220, 199, 79);
/* oklch */ color: oklch(82.5% 0.140 99.3);
Tailwind
colors: {
  custom: {
    50: '#ead786',
    500: '#dcc74f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc74f;
$custom-light: #ead786;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc74f",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 51.064,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82515,
    "c": 0.13982,
    "h": 99.3
  },
  "luminance": 0.56627
}

Semantic roles & 50–950 ramp

primary
#DCC74F
secondary
#374698
accent
#58EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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