#C4CC42#C4CC42

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

Color values

HEX#C4CC42
RGBrgb(196, 204, 66)
HSLhsl(63, 58%, 53%)
HSVhsv(63, 68%, 80%)
CMYKcmyk(3.9%, 0%, 67.6%, 20%)
CIE-LABlab(79.22, -19.76, 64.59)
CIE-LCHlch(79.22, 67.55, 107.01°)
OKLaboklab(81.41% -0.0603 0.1447)
OKLCHoklch(81.41% 0.157 112.6)
XYZxyz(45.3425, 55.3158, 13.4417)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC42 #4A42CC
analogous
#CC8F42 #C4CC42 #7FCC42
triadic
#C4CC42 #42C4CC #CC42C4
tetradic
#C4CC42 #42CC8F #4A42CC #CC427F
square
#C4CC42 #42CC8F #4A42CC #CC427F
split-complementary
#C4CC42 #427FCC #8F42CC
monochromatic
#6F741F #9DA42C #C4CC42 #D3D972 #E2E6A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4CC42#FFFFFF#000000##000000
##C4CC421.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)
#DBC32D
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#D1C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc42;
/* rgb */ color: rgb(196, 204, 66);
/* oklch */ color: oklch(81.4% 0.157 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db7e',
    500: '#c4cc42',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc42;
$custom-light: #d9db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc42",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 63.478,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81409,
    "c": 0.15678,
    "h": 112.6
  },
  "luminance": 0.55315
}

Semantic roles & 50–950 ramp

primary
#C4CC42
secondary
#39357D
accent
#47E150
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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