#C5CC5D#C5CC5D

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

Color values

HEX#C5CC5D
RGBrgb(197, 204, 93)
HSLhsl(64, 52%, 58%)
HSVhsv(64, 54%, 80%)
CMYKcmyk(3.4%, 0%, 54.4%, 20%)
CIE-LABlab(79.53, -17.50, 53.57)
CIE-LCHlch(79.53, 56.36, 108.09°)
OKLaboklab(81.74% -0.0513 0.1249)
OKLCHoklch(81.74% 0.135 112.3)
XYZxyz(46.5956, 55.8473, 18.6788)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC5D #645DCC
analogous
#CC9B5D #C5CC5D #8DCC5D
triadic
#C5CC5D #5DC5CC #CC5DC5
tetradic
#C5CC5D #5DCC9B #645DCC #CC5D8D
square
#C5CC5D #5DCC9B #645DCC #CC5D8D
split-complementary
#C5CC5D #5D8DCC #9B5DCC
monochromatic
#7F852A #ACB338 #C5CC5D #D6DB8C #E6E9BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC5D#FFFFFF#000000##000000
##C5CC5D1.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)
#DAC452
Deuteranopia (green-blind)
#DAC663
Tritanopia (blue-blind)
#D1C1B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc5d;
/* rgb */ color: rgb(197, 204, 93);
/* oklch */ color: oklch(81.7% 0.135 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db8e',
    500: '#c5cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc5d;
$custom-light: #d9db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc5d",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 63.784,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81744,
    "c": 0.13505,
    "h": 112.3
  },
  "luminance": 0.55846
}

Semantic roles & 50–950 ramp

primary
#C5CC5D
secondary
#46418C
accent
#4CDC55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C5CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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