#DCCC4C#DCCC4C

#DCCC4C is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.146 H 102.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#DCCC4C
RGBrgb(220, 204, 76)
HSLhsl(53, 67%, 58%)
HSVhsv(53, 65%, 86%)
CMYKcmyk(0%, 7.3%, 65.5%, 13.7%)
CIE-LABlab(81.25, -9.16, 63.36)
CIE-LCHlch(81.25, 64.02, 98.23°)
OKLaboklab(83.52% -0.0308 0.143)
OKLCHoklch(83.52% 0.146 102.1)
XYZxyz(52.4147, 58.9253, 15.4489)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC4C #4C5CDC
analogous
#DC844C #DCCC4C #A4DC4C
triadic
#DCCC4C #4CDCCC #CC4CDC
tetradic
#DCCC4C #4CDC84 #4C5CDC #DC4CA4
square
#DCCC4C #4CDC84 #4C5CDC #DC4CA4
split-complementary
#DCCC4C #4CA4DC #844CDC
monochromatic
#91841C #C4B326 #DCCC4C #E6DB7F #F0E9B2

Accessibility & contrast

On white

1.64
#DCCC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#DCCC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC4C
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC4C#FFFFFF#000000##000000
##DCCC4C1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#ECBEB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccc4c;
/* rgb */ color: rgb(220, 204, 76);
/* oklch */ color: oklch(83.5% 0.146 102.1);
Tailwind
colors: {
  custom: {
    50: '#eadb84',
    500: '#dccc4c',
    950: '#000000',
  },
}
SCSS
$custom: #dccc4c;
$custom-light: #eadb84;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc4c",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 53.333,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83523,
    "c": 0.14628,
    "h": 102.1
  },
  "luminance": 0.58923
}

Semantic roles & 50–950 ramp

primary
#DCCC4C
secondary
#364196
accent
#51EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCCC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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