#DCCC74#DCCC74

#DCCC74 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.111 H 99.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#DCCC74
RGBrgb(220, 204, 116)
HSLhsl(51, 60%, 66%)
HSVhsv(51, 47%, 86%)
CMYKcmyk(0%, 7.3%, 47.3%, 13.7%)
CIE-LABlab(81.66, -6.14, 45.61)
CIE-LCHlch(81.66, 46.03, 97.67°)
OKLaboklab(83.98% -0.0177 0.1093)
OKLCHoklch(83.98% 0.111 99.2)
XYZxyz(54.2620, 59.6642, 25.1777)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC74 #7484DC
analogous
#DC9874 #DCCC74 #B8DC74
triadic
#DCCC74 #74DCCC #CC74DC
tetradic
#DCCC74 #74DC98 #7484DC #DC74B8
square
#DCCC74 #74DC98 #7484DC #DC74B8
split-complementary
#DCCC74 #74B8DC #9874DC
monochromatic
#AB972B #D0BA43 #DCCC74 #E8DEA5 #F5F0D6

Accessibility & contrast

On white

1.62
#DCCC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#DCCC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC74
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC74#FFFFFF#000000##000000
##DCCC741.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76D
Deuteranopia (green-blind)
#E0CE78
Tritanopia (blue-blind)
#EAC1B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dccc74;
/* rgb */ color: rgb(220, 204, 116);
/* oklch */ color: oklch(84.0% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#e9db9e',
    500: '#dccc74',
    950: '#000000',
  },
}
SCSS
$custom: #dccc74;
$custom-light: #e9db9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc74",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 116
  },
  "hsl": {
    "h": 50.769,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.83975,
    "c": 0.11069,
    "h": 99.2
  },
  "luminance": 0.59662
}

Semantic roles & 50–950 ramp

primary
#DCCC74
secondary
#4757AD
accent
#38C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCCC74

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

Preview Lab → · Contrast checker → · Palette generator →

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