#C5CC59#C5CC59

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

Color values

HEX#C5CC59
RGBrgb(197, 204, 89)
HSLhsl(64, 53%, 57%)
HSVhsv(64, 56%, 80%)
CMYKcmyk(3.4%, 0%, 56.4%, 20%)
CIE-LABlab(79.49, -17.82, 55.34)
CIE-LCHlch(79.49, 58.14, 107.85°)
OKLaboklab(81.7% -0.0526 0.1283)
OKLCHoklch(81.7% 0.139 112.3)
XYZxyz(46.4231, 55.7783, 17.7700)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC59 #6059CC
analogous
#CC9959 #C5CC59 #8CCC59
triadic
#C5CC59 #59C5CC #CC59C5
tetradic
#C5CC59 #59CC99 #6059CC #CC598C
square
#C5CC59 #59CC99 #6059CC #CC598C
split-complementary
#C5CC59 #598CCC #9959CC
monochromatic
#7D8328 #AAB136 #C5CC59 #D5DA88 #E6E9B7

Accessibility & contrast

On white

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

On black

12.16
#C5CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC59
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC59#FFFFFF#000000##000000
##C5CC591.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34D
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#D1C1B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc59;
/* rgb */ color: rgb(197, 204, 89);
/* oklch */ color: oklch(81.7% 0.139 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db8c',
    500: '#c5cc59',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc59;
$custom-light: #d9db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc59",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 63.652,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.817,
    "c": 0.13864,
    "h": 112.3
  },
  "luminance": 0.55777
}

Semantic roles & 50–950 ramp

primary
#C5CC59
secondary
#443F8A
accent
#4BDC54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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