#C4CC39#C4CC39

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

Color values

HEX#C4CC39
RGBrgb(196, 204, 57)
HSLhsl(63, 59%, 51%)
HSVhsv(63, 72%, 80%)
CMYKcmyk(3.9%, 0%, 72.1%, 20%)
CIE-LABlab(79.17, -20.22, 67.79)
CIE-LCHlch(79.17, 70.74, 106.61°)
OKLaboklab(81.35% -0.0625 0.1499)
OKLCHoklch(81.35% 0.162 112.6)
XYZxyz(45.0977, 55.2179, 12.1526)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC39 #4139CC
analogous
#CC8A39 #C4CC39 #7ACC39
triadic
#C4CC39 #39C4CC #CC39C4
tetradic
#C4CC39 #39CC8A #4139CC #CC397A
square
#C4CC39 #39CC8A #4139CC #CC397A
split-complementary
#C4CC39 #397ACC #8A39CC
monochromatic
#6A6E1C #989F29 #C4CC39 #D3D96A #E1E59A

Accessibility & contrast

On white

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

On black

12.04
#C4CC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC39
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC39#FFFFFF#000000##000000
##C4CC391.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4cc39;
/* rgb */ color: rgb(196, 204, 57);
/* oklch */ color: oklch(81.3% 0.162 112.6);
Tailwind
colors: {
  custom: {
    50: '#d9db7a',
    500: '#c4cc39',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc39;
$custom-light: #d9db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc39",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 63.265,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81346,
    "c": 0.16242,
    "h": 112.6
  },
  "luminance": 0.55217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4CC39

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

Preview Lab → · Contrast checker → · Palette generator →

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