#C4CC2C#C4CC2C

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

Color values

HEX#C4CC2C
RGBrgb(196, 204, 44)
HSLhsl(63, 65%, 49%)
HSVhsv(63, 78%, 80%)
CMYKcmyk(3.9%, 0%, 78.4%, 20%)
CIE-LABlab(79.10, -20.76, 71.80)
CIE-LCHlch(79.10, 74.74, 106.13°)
OKLaboklab(81.27% -0.065 0.1562)
OKLCHoklch(81.27% 0.169 112.6)
XYZxyz(44.8140, 55.1044, 10.6579)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC2C #342CCC
analogous
#CC842C #C4CC2C #74CC2C
triadic
#C4CC2C #2CC4CC #CC2CC4
tetradic
#C4CC2C #2CCC84 #342CCC #CC2C74
square
#C4CC2C #2CCC84 #342CCC #CC2C74
split-complementary
#C4CC2C #2C74CC #842CCC
monochromatic
#636716 #949A21 #C4CC2C #D5DB5A #E2E68C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CC2C#FFFFFF#000000##000000
##C4CC2C1.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)
#DCC63B
Tritanopia (blue-blind)
#D2BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc2c;
/* rgb */ color: rgb(196, 204, 44);
/* oklch */ color: oklch(81.3% 0.169 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadb74',
    500: '#c4cc2c',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc2c;
$custom-light: #dadb74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc2c",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 44
  },
  "hsl": {
    "h": 63,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.81273,
    "c": 0.16917,
    "h": 112.6
  },
  "luminance": 0.55103
}

Semantic roles & 50–950 ramp

primary
#C4CC2C
secondary
#2E2B71
accent
#40E849
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4CC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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