#C5CC55#C5CC55

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

Color values

HEX#C5CC55
RGBrgb(197, 204, 85)
HSLhsl(64, 54%, 57%)
HSVhsv(64, 58%, 80%)
CMYKcmyk(3.4%, 0%, 58.3%, 20%)
CIE-LABlab(79.45, -18.12, 57.07)
CIE-LCHlch(79.45, 59.87, 107.62°)
OKLaboklab(81.66% -0.0539 0.1315)
OKLCHoklch(81.66% 0.142 112.3)
XYZxyz(46.2597, 55.7129, 16.9094)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC55 #5C55CC
analogous
#CC9755 #C5CC55 #8ACC55
triadic
#C5CC55 #55C5CC #CC55C5
tetradic
#C5CC55 #55CC97 #5C55CC #CC558A
square
#C5CC55 #55CC97 #5C55CC #CC558A
split-complementary
#C5CC55 #558ACC #9755CC
monochromatic
#7B8026 #A8AF35 #C5CC55 #D5DA84 #E5E8B3

Accessibility & contrast

On white

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

On black

12.14
#C5CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC55
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC55#FFFFFF#000000##000000
##C5CC551.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC348
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#D1C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc55;
/* rgb */ color: rgb(197, 204, 85);
/* oklch */ color: oklch(81.7% 0.142 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db89',
    500: '#c5cc55',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc55;
$custom-light: #d9db89;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc55",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 63.529,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81658,
    "c": 0.14209,
    "h": 112.3
  },
  "luminance": 0.55712
}

Semantic roles & 50–950 ramp

primary
#C5CC55
secondary
#423D88
accent
#4BDD53
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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