#C4CC32#C4CC32

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

Color values

HEX#C4CC32
RGBrgb(196, 204, 50)
HSLhsl(63, 61%, 50%)
HSVhsv(63, 75%, 80%)
CMYKcmyk(3.9%, 0%, 75.5%, 20%)
CIE-LABlab(79.13, -20.53, 70.04)
CIE-LCHlch(79.13, 72.99, 106.34°)
OKLaboklab(81.3% -0.0639 0.1535)
OKLCHoklch(81.3% 0.166 112.6)
XYZxyz(44.9350, 55.1528, 11.2955)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC32 #3A32CC
analogous
#CC8732 #C4CC32 #77CC32
triadic
#C4CC32 #32C4CC #CC32C4
tetradic
#C4CC32 #32CC87 #3A32CC #CC3277
square
#C4CC32 #32CC87 #3A32CC #CC3277
split-complementary
#C4CC32 #3277CC #8732CC
monochromatic
#666A1A #959B26 #C4CC32 #D3D963 #E0E594

Accessibility & contrast

On white

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

On black

12.03
#C4CC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC32
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC32#FFFFFF#000000##000000
##C4CC321.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC208
Deuteranopia (green-blind)
#DCC63F
Tritanopia (blue-blind)
#D1BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc32;
/* rgb */ color: rgb(196, 204, 50);
/* oklch */ color: oklch(81.3% 0.166 112.6);
Tailwind
colors: {
  custom: {
    50: '#dadb76',
    500: '#c4cc32',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc32;
$custom-light: #dadb76;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc32",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 50
  },
  "hsl": {
    "h": 63.117,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81304,
    "c": 0.16627,
    "h": 112.6
  },
  "luminance": 0.55152
}

Semantic roles & 50–950 ramp

primary
#C4CC32
secondary
#322F74
accent
#44E44C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4CC32

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

Preview Lab → · Contrast checker → · Palette generator →

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