#C5CC66#C5CC66

#C5CC66 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.127 H 112.4°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C5CC66
RGBrgb(197, 204, 102)
HSLhsl(64, 50%, 60%)
HSVhsv(64, 50%, 80%)
CMYKcmyk(3.4%, 0%, 50%, 20%)
CIE-LABlab(79.62, -16.73, 49.49)
CIE-LCHlch(79.62, 52.24, 108.68°)
OKLaboklab(81.85% -0.0482 0.117)
OKLCHoklch(81.85% 0.127 112.4)
XYZxyz(47.0180, 56.0162, 20.9032)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC66 #6D66CC
analogous
#CCA066 #C5CC66 #92CC66
triadic
#C5CC66 #66C5CC #CC66C5
tetradic
#C5CC66 #66CCA0 #6D66CC #CC6692
square
#C5CC66 #66CCA0 #6D66CC #CC6692
split-complementary
#C5CC66 #6692CC #A066CC
monochromatic
#838A2E #AFB83D #C5CC66 #D6DB94 #E8EBC2

Accessibility & contrast

On white

1.72
#C5CC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#C5CC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC66
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC66#FFFFFF#000000##000000
##C5CC661.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45D
Deuteranopia (green-blind)
#D9C76B
Tritanopia (blue-blind)
#D0C2B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc66;
/* rgb */ color: rgb(197, 204, 102);
/* oklch */ color: oklch(81.9% 0.127 112.4);
Tailwind
colors: {
  custom: {
    50: '#d8db94',
    500: '#c5cc66',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc66;
$custom-light: #d8db94;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc66",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 64.118,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.81852,
    "c": 0.12652,
    "h": 112.4
  },
  "luminance": 0.56015
}

Semantic roles & 50–950 ramp

primary
#C5CC66
secondary
#4B4691
accent
#4EDA58
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C5CC66

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

Preview Lab → · Contrast checker → · Palette generator →

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