#C4CC4C#C4CC4C

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

Color values

HEX#C4CC4C
RGBrgb(196, 204, 76)
HSLhsl(64, 56%, 55%)
HSVhsv(64, 63%, 80%)
CMYKcmyk(3.9%, 0%, 62.7%, 20%)
CIE-LABlab(79.30, -19.16, 60.71)
CIE-LCHlch(79.30, 63.66, 107.51°)
OKLaboklab(81.49% -0.0576 0.138)
OKLCHoklch(81.49% 0.15 112.7)
XYZxyz(45.6635, 55.4443, 15.1324)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC4C #544CCC
analogous
#CC944C #C4CC4C #84CC4C
triadic
#C4CC4C #4CC4CC #CC4CC4
tetradic
#C4CC4C #4CCC94 #544CCC #CC4C84
square
#C4CC4C #4CCC94 #544CCC #CC4C84
split-complementary
#C4CC4C #4C84CC #944CCC
monochromatic
#757B23 #A3AA31 #C4CC4C #D4DA7C #E3E7AB

Accessibility & contrast

On white

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

On black

12.09
#C4CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC4C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC4C#FFFFFF#000000##000000
##C4CC4C1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33C
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#D0C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c4cc4c;
/* rgb */ color: rgb(196, 204, 76);
/* oklch */ color: oklch(81.5% 0.150 112.7);
Tailwind
colors: {
  custom: {
    50: '#d9db84',
    500: '#c4cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc4c;
$custom-light: #d9db84;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc4c",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 63.75,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81492,
    "c": 0.14958,
    "h": 112.7
  },
  "luminance": 0.55443
}

Semantic roles & 50–950 ramp

primary
#C4CC4C
secondary
#3E3983
accent
#49DF52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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