#CCC74C#CCC74C

#CCC74C is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.143 H 107.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CCC74C
RGBrgb(204, 199, 76)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 63%, 80%)
CMYKcmyk(0%, 2.5%, 62.7%, 20%)
CIE-LABlab(78.58, -13.33, 60.14)
CIE-LCHlch(78.58, 61.60, 102.50°)
OKLaboklab(81.08% -0.0417 0.1366)
OKLCHoklch(81.08% 0.143 107)
XYZxyz(46.6314, 54.2075, 14.8428)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC74C #4C51CC
analogous
#CC874C #CCC74C #91CC4C
triadic
#CCC74C #4CCCC7 #C74CCC
tetradic
#CCC74C #4CCC87 #4C51CC #CC4C91
square
#CCC74C #4CCC87 #4C51CC #CC4C91
split-complementary
#CCC74C #4C91CC #874CCC
monochromatic
#7B7723 #AAA631 #CCC74C #DAD67C #E7E5AB

Accessibility & contrast

On white

1.77
#CCC74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CCC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC74C
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC74C#FFFFFF#000000##000000
##CCC74C1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03D
Deuteranopia (green-blind)
#D9C553
Tritanopia (blue-blind)
#DABBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc74c;
/* rgb */ color: rgb(204, 199, 76);
/* oklch */ color: oklch(81.1% 0.143 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd784',
    500: '#ccc74c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc74c;
$custom-light: #dfd784;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc74c",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 57.656,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81077,
    "c": 0.14285,
    "h": 107
  },
  "luminance": 0.54206
}

Semantic roles & 50–950 ramp

primary
#CCC74C
secondary
#393C83
accent
#4FDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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