#DCC374#DCC374

#DCC374 is a very light, moderate yellow. Relative luminance 0.555; OKLCH L 82.1% C 0.103 H 92.4°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#DCC374
RGBrgb(220, 195, 116)
HSLhsl(46, 60%, 66%)
HSVhsv(46, 47%, 86%)
CMYKcmyk(0%, 11.4%, 47.3%, 13.7%)
CIE-LABlab(79.33, -1.50, 42.75)
CIE-LCHlch(79.33, 42.77, 92.01°)
OKLaboklab(82.14% -0.0043 0.1029)
OKLCHoklch(82.14% 0.103 92.4)
XYZxyz(52.1843, 55.5090, 24.4851)
Luminance0.5551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC374 #748DDC
analogous
#DC8F74 #DCC374 #C1DC74
triadic
#DCC374 #74DCC3 #C374DC
tetradic
#DCC374 #74DC8F #748DDC #DC74C1
square
#DCC374 #74DC8F #748DDC #DC74C1
split-complementary
#DCC374 #74C1DC #8F74DC
monochromatic
#AB8C2B #D0AE43 #DCC374 #E8D8A5 #F5EDD6

Accessibility & contrast

On white

1.74
#DCC374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#DCC374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC374
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC374#FFFFFF#000000##000000
##DCC3741.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06E
Deuteranopia (green-blind)
#D9C877
Tritanopia (blue-blind)
#EAB8B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dcc374;
/* rgb */ color: rgb(220, 195, 116);
/* oklch */ color: oklch(82.1% 0.103 92.4);
Tailwind
colors: {
  custom: {
    50: '#e9d59d',
    500: '#dcc374',
    950: '#000000',
  },
}
SCSS
$custom: #dcc374;
$custom-light: #e9d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc374",
  "rgb": {
    "r": 220,
    "g": 195,
    "b": 116
  },
  "hsl": {
    "h": 45.577,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82139,
    "c": 0.10296,
    "h": 92.4
  },
  "luminance": 0.55507
}

Semantic roles & 50–950 ramp

primary
#DCC374
secondary
#4760AD
accent
#47C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC374

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

Preview Lab → · Contrast checker → · Palette generator →

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