#C5CC58#C5CC58

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

Color values

HEX#C5CC58
RGBrgb(197, 204, 88)
HSLhsl(64, 53%, 57%)
HSVhsv(64, 57%, 80%)
CMYKcmyk(3.4%, 0%, 56.9%, 20%)
CIE-LABlab(79.48, -17.90, 55.77)
CIE-LCHlch(79.48, 58.57, 107.79°)
OKLaboklab(81.69% -0.0529 0.1291)
OKLCHoklch(81.69% 0.14 112.3)
XYZxyz(46.3814, 55.7616, 17.5504)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC58 #5F58CC
analogous
#CC9958 #C5CC58 #8BCC58
triadic
#C5CC58 #58C5CC #CC58C5
tetradic
#C5CC58 #58CC99 #5F58CC #CC588B
square
#C5CC58 #58CC99 #5F58CC #CC588B
split-complementary
#C5CC58 #588BCC #9958CC
monochromatic
#7C8228 #A9B136 #C5CC58 #D5DA87 #E6E9B6

Accessibility & contrast

On white

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

On black

12.15
#C5CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC58
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC58#FFFFFF#000000##000000
##C5CC581.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5cc58;
/* rgb */ color: rgb(197, 204, 88);
/* oklch */ color: oklch(81.7% 0.140 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db8b',
    500: '#c5cc58',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc58;
$custom-light: #d9db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc58",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 63.621,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.13951,
    "h": 112.3
  },
  "luminance": 0.55761
}

Semantic roles & 50–950 ramp

primary
#C5CC58
secondary
#433F89
accent
#4BDD54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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