#C4CC3A#C4CC3A

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

Color values

HEX#C4CC3A
RGBrgb(196, 204, 58)
HSLhsl(63, 59%, 51%)
HSVhsv(63, 72%, 80%)
CMYKcmyk(3.9%, 0%, 71.6%, 20%)
CIE-LABlab(79.17, -20.17, 67.45)
CIE-LCHlch(79.17, 70.40, 106.65°)
OKLaboklab(81.35% -0.0622 0.1494)
OKLCHoklch(81.35% 0.162 112.6)
XYZxyz(45.1229, 55.2280, 12.2853)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC3A #423ACC
analogous
#CC8B3A #C4CC3A #7BCC3A
triadic
#C4CC3A #3AC4CC #CC3AC4
tetradic
#C4CC3A #3ACC8B #423ACC #CC3A7B
square
#C4CC3A #3ACC8B #423ACC #CC3A7B
split-complementary
#C4CC3A #3A7BCC #8B3ACC
monochromatic
#6A6F1D #99A029 #C4CC3A #D3D96B #E1E59B

Accessibility & contrast

On white

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

On black

12.05
#C4CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC3A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC3A#FFFFFF#000000##000000
##C4CC3A1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4cc3a;
/* rgb */ color: rgb(196, 204, 58);
/* oklch */ color: oklch(81.4% 0.162 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db7a',
    500: '#c4cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc3a;
$custom-light: #d9db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc3a",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 63.288,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81353,
    "c": 0.16184,
    "h": 112.6
  },
  "luminance": 0.55227
}

Semantic roles & 50–950 ramp

primary
#C4CC3A
secondary
#363278
accent
#46E24E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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