#C4CC40#C4CC40

#C4CC40 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.4% C 0.158 H 112.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C4CC40
RGBrgb(196, 204, 64)
HSLhsl(63, 58%, 53%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(3.9%, 0%, 68.6%, 20%)
CIE-LABlab(79.21, -19.87, 65.33)
CIE-LCHlch(79.21, 68.28, 106.92°)
OKLaboklab(81.39% -0.0608 0.1459)
OKLCHoklch(81.39% 0.158 112.6)
XYZxyz(45.2846, 55.2927, 13.1365)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC40 #4840CC
analogous
#CC8E40 #C4CC40 #7ECC40
triadic
#C4CC40 #40C4CC #CC40C4
tetradic
#C4CC40 #40CC8E #4840CC #CC407E
square
#C4CC40 #40CC8E #4840CC #CC407E
split-complementary
#C4CC40 #407ECC #8E40CC
monochromatic
#6E731F #9CA32C #C4CC40 #D3D970 #E2E6A1

Accessibility & contrast

On white

1.74
#C4CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#C4CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC40
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC40#FFFFFF#000000##000000
##C4CC401.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32A
Deuteranopia (green-blind)
#DBC64A
Tritanopia (blue-blind)
#D1C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc40;
/* rgb */ color: rgb(196, 204, 64);
/* oklch */ color: oklch(81.4% 0.158 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db7d',
    500: '#c4cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc40;
$custom-light: #d9db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc40",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 63.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81394,
    "c": 0.1581,
    "h": 112.6
  },
  "luminance": 0.55292
}

Semantic roles & 50–950 ramp

primary
#C4CC40
secondary
#39347C
accent
#47E150
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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