#C5CC5E#C5CC5E

#C5CC5E is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.134 H 112.3°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C5CC5E
RGBrgb(197, 204, 94)
HSLhsl(64, 52%, 58%)
HSVhsv(64, 54%, 80%)
CMYKcmyk(3.4%, 0%, 53.9%, 20%)
CIE-LABlab(79.54, -17.42, 53.13)
CIE-LCHlch(79.54, 55.91, 108.16°)
OKLaboklab(81.76% -0.0509 0.1241)
OKLCHoklch(81.76% 0.134 112.3)
XYZxyz(46.6402, 55.8651, 18.9136)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC5E #655ECC
analogous
#CC9C5E #C5CC5E #8ECC5E
triadic
#C5CC5E #5EC5CC #CC5EC5
tetradic
#C5CC5E #5ECC9C #655ECC #CC5E8E
square
#C5CC5E #5ECC9C #655ECC #CC5E8E
split-complementary
#C5CC5E #5E8ECC #9C5ECC
monochromatic
#80852A #ACB439 #C5CC5E #D6DB8C #E6E9BB

Accessibility & contrast

On white

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

On black

12.17
#C5CC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC5E
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC5E#FFFFFF#000000##000000
##C5CC5E1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC453
Deuteranopia (green-blind)
#DAC664
Tritanopia (blue-blind)
#D1C1B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc5e;
/* rgb */ color: rgb(197, 204, 94);
/* oklch */ color: oklch(81.8% 0.134 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db8f',
    500: '#c5cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc5e;
$custom-light: #d9db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc5e",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 63.818,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81755,
    "c": 0.13414,
    "h": 112.3
  },
  "luminance": 0.55864
}

Semantic roles & 50–950 ramp

primary
#C5CC5E
secondary
#46428D
accent
#4CDB56
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C5CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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