#C4CC2A#C4CC2A

#C4CC2A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.3% C 0.170 H 112.6°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C4CC2A
RGBrgb(196, 204, 42)
HSLhsl(63, 66%, 48%)
HSVhsv(63, 79%, 80%)
CMYKcmyk(3.9%, 0%, 79.4%, 20%)
CIE-LABlab(79.09, -20.83, 72.34)
CIE-LCHlch(79.09, 75.28, 106.06°)
OKLaboklab(81.26% -0.0654 0.157)
OKLCHoklch(81.26% 0.17 112.6)
XYZxyz(44.7773, 55.0897, 10.4647)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC2A #322ACC
analogous
#CC832A #C4CC2A #73CC2A
triadic
#C4CC2A #2AC4CC #CC2AC4
tetradic
#C4CC2A #2ACC83 #322ACC #CC2A73
square
#C4CC2A #2ACC83 #322ACC #CC2A73
split-complementary
#C4CC2A #2A73CC #832ACC
monochromatic
#626615 #939920 #C4CC2A #D6DC57 #E2E78A

Accessibility & contrast

On white

1.75
#C4CC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#C4CC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC2A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC2A#FFFFFF#000000##000000
##C4CC2A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DCC63A
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc2a;
/* rgb */ color: rgb(196, 204, 42);
/* oklch */ color: oklch(81.3% 0.170 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadb73',
    500: '#c4cc2a',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc2a;
$custom-light: #dadb73;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc2a",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 42
  },
  "hsl": {
    "h": 62.963,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.81264,
    "c": 0.17006,
    "h": 112.6
  },
  "luminance": 0.55089
}

Semantic roles & 50–950 ramp

primary
#C4CC2A
secondary
#2D2A71
accent
#3FE947
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4CC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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