#C5CC79#C5CC79

#C5CC79 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.107 H 112.7°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#C5CC79
RGBrgb(197, 204, 121)
HSLhsl(65, 45%, 64%)
HSVhsv(65, 41%, 80%)
CMYKcmyk(3.4%, 0%, 40.7%, 20%)
CIE-LABlab(79.86, -14.83, 40.49)
CIE-LCHlch(79.86, 43.12, 110.12°)
OKLaboklab(82.12% -0.0411 0.0984)
OKLCHoklch(82.12% 0.107 112.7)
XYZxyz(48.0705, 56.4372, 26.4466)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC79 #8079CC
analogous
#CCA979 #C5CC79 #9BCC79
triadic
#C5CC79 #79C5CC #CC79C5
tetradic
#C5CC79 #79CCA9 #8079CC #CC799B
square
#C5CC79 #79CCA9 #8079CC #CC799B
split-complementary
#C5CC79 #799BCC #A979CC
monochromatic
#8B9338 #B2BB4D #C5CC79 #D8DDA5 #EBEED2

Accessibility & contrast

On white

1.71
#C5CC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#C5CC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC79
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC79#FFFFFF#000000##000000
##C5CC791.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C573
Deuteranopia (green-blind)
#D7C77D
Tritanopia (blue-blind)
#CEC3B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c5cc79;
/* rgb */ color: rgb(197, 204, 121);
/* oklch */ color: oklch(82.1% 0.107 112.7);
Tailwind
colors: {
  custom: {
    50: '#d8dba1',
    500: '#c5cc79',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc79;
$custom-light: #d8dba1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc79",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 65.06,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8212,
    "c": 0.10659,
    "h": 112.7
  },
  "luminance": 0.56437
}

Semantic roles & 50–950 ramp

primary
#C5CC79
secondary
#565099
accent
#2DB839
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C5CC79

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

Preview Lab → · Contrast checker → · Palette generator →

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