#CCC74A#CCC74A

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

Color values

HEX#CCC74A
RGBrgb(204, 199, 74)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2.5%, 63.7%, 20%)
CIE-LABlab(78.57, -13.46, 60.95)
CIE-LCHlch(78.57, 62.42, 102.45°)
OKLaboklab(81.06% -0.0422 0.1381)
OKLCHoklch(81.06% 0.144 107)
XYZxyz(46.5629, 54.1801, 14.4823)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC74A #4A4FCC
analogous
#CC864A #CCC74A #90CC4A
triadic
#CCC74A #4ACCC7 #C74ACC
tetradic
#CCC74A #4ACC86 #4A4FCC #CC4A90
square
#CCC74A #4ACC86 #4A4FCC #CC4A90
split-complementary
#CCC74A #4A90CC #864ACC
monochromatic
#797622 #A9A430 #CCC74A #D9D67A #E7E5A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC74A#FFFFFF#000000##000000
##CCC74A1.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)
#D7C03A
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#DABBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc74a;
/* rgb */ color: rgb(204, 199, 74);
/* oklch */ color: oklch(81.1% 0.144 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd782',
    500: '#ccc74a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc74a;
$custom-light: #dfd782;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc74a",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 57.692,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81059,
    "c": 0.14437,
    "h": 107
  },
  "luminance": 0.54179
}

Semantic roles & 50–950 ramp

primary
#CCC74A
secondary
#393B82
accent
#4EDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC74A

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

Preview Lab → · Contrast checker → · Palette generator →

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