#CCC34A#CCC34A

#CCC34A is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.2% C 0.141 H 105.1°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CCC34A
RGBrgb(204, 195, 74)
HSLhsl(56, 56%, 55%)
HSVhsv(56, 64%, 80%)
CMYKcmyk(0%, 4.4%, 63.7%, 20%)
CIE-LABlab(77.50, -11.43, 59.83)
CIE-LCHlch(77.50, 60.91, 100.81°)
OKLaboklab(80.21% -0.0365 0.1357)
OKLCHoklch(80.21% 0.141 105.1)
XYZxyz(45.6547, 52.3636, 14.1795)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC34A #4A53CC
analogous
#CC824A #CCC34A #94CC4A
triadic
#CCC34A #4ACCC3 #C34ACC
tetradic
#CCC34A #4ACC82 #4A53CC #CC4A94
square
#CCC34A #4ACC82 #4A53CC #CC4A94
split-complementary
#CCC34A #4A94CC #824ACC
monochromatic
#797322 #A9A130 #CCC34A #D9D37A #E7E3A9

Accessibility & contrast

On white

1.83
#CCC34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CCC34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC34A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC34A#FFFFFF#000000##000000
##CCC34A1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3B
Deuteranopia (green-blind)
#D6C251
Tritanopia (blue-blind)
#DAB7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc34a;
/* rgb */ color: rgb(204, 195, 74);
/* oklch */ color: oklch(80.2% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#dfd482',
    500: '#ccc34a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc34a;
$custom-light: #dfd482;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc34a",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 74
  },
  "hsl": {
    "h": 55.846,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80208,
    "c": 0.1405,
    "h": 105.1
  },
  "luminance": 0.52362
}

Semantic roles & 50–950 ramp

primary
#CCC34A
secondary
#393E82
accent
#53DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC34A

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

Preview Lab → · Contrast checker → · Palette generator →

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