#C4CC4F#C4CC4F

#C4CC4F is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.147 H 112.7°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#C4CC4F
RGBrgb(196, 204, 79)
HSLhsl(64, 55%, 55%)
HSVhsv(64, 61%, 80%)
CMYKcmyk(3.9%, 0%, 61.3%, 20%)
CIE-LABlab(79.32, -18.96, 59.48)
CIE-LCHlch(79.32, 62.43, 107.68°)
OKLaboklab(81.52% -0.0568 0.1359)
OKLCHoklch(81.52% 0.147 112.7)
XYZxyz(45.7703, 55.4869, 15.6946)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC4F #574FCC
analogous
#CC954F #C4CC4F #85CC4F
triadic
#C4CC4F #4FC4CC #CC4FC4
tetradic
#C4CC4F #4FCC95 #574FCC #CC4F85
square
#C4CC4F #4FCC95 #574FCC #CC4F85
split-complementary
#C4CC4F #4F85CC #954FCC
monochromatic
#777D24 #A4AC32 #C4CC4F #D4DA7E #E4E7AE

Accessibility & contrast

On white

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

On black

12.10
#C4CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC4F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC4F#FFFFFF#000000##000000
##C4CC4F1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#D0C1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc4f;
/* rgb */ color: rgb(196, 204, 79);
/* oklch */ color: oklch(81.5% 0.147 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9db86',
    500: '#c4cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc4f;
$custom-light: #d9db86;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc4f",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 63.84,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81519,
    "c": 0.14723,
    "h": 112.7
  },
  "luminance": 0.55486
}

Semantic roles & 50–950 ramp

primary
#C4CC4F
secondary
#3F3B84
accent
#49DE53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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