#C5CC4C#C5CC4C

#C5CC4C is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.149 H 112.2°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C5CC4C
RGBrgb(197, 204, 76)
HSLhsl(63, 56%, 55%)
HSVhsv(63, 63%, 80%)
CMYKcmyk(3.4%, 0%, 62.7%, 20%)
CIE-LABlab(79.37, -18.74, 60.81)
CIE-LCHlch(79.37, 63.64, 107.13°)
OKLaboklab(81.57% -0.0565 0.1382)
OKLCHoklch(81.57% 0.149 112.2)
XYZxyz(45.9246, 55.5789, 15.1447)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC4C #534CCC
analogous
#CC934C #C5CC4C #85CC4C
triadic
#C5CC4C #4CC5CC #CC4CC5
tetradic
#C5CC4C #4CCC93 #534CCC #CC4C85
square
#C5CC4C #4CCC93 #534CCC #CC4C85
split-complementary
#C5CC4C #4C85CC #934CCC
monochromatic
#767B23 #A4AA31 #C5CC4C #D4DA7C #E4E7AB

Accessibility & contrast

On white

1.73
#C5CC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#C5CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC4C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC4C#FFFFFF#000000##000000
##C5CC4C1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cc4c;
/* rgb */ color: rgb(197, 204, 76);
/* oklch */ color: oklch(81.6% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#d9db84',
    500: '#c5cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc4c;
$custom-light: #d9db84;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc4c",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 63.281,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81572,
    "c": 0.14934,
    "h": 112.2
  },
  "luminance": 0.55578
}

Semantic roles & 50–950 ramp

primary
#C5CC4C
secondary
#3D3983
accent
#49DF51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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