#C5CC57#C5CC57

#C5CC57 is a light, vivid yellow. Relative luminance 0.557; 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#C5CC57
RGBrgb(197, 204, 87)
HSLhsl(64, 53%, 57%)
HSVhsv(64, 57%, 80%)
CMYKcmyk(3.4%, 0%, 57.4%, 20%)
CIE-LABlab(79.47, -17.97, 56.21)
CIE-LCHlch(79.47, 59.01, 107.73°)
OKLaboklab(81.68% -0.0532 0.1299)
OKLCHoklch(81.68% 0.14 112.3)
XYZxyz(46.3402, 55.7451, 17.3337)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC57 #5E57CC
analogous
#CC9957 #C5CC57 #8ACC57
triadic
#C5CC57 #57C5CC #CC57C5
tetradic
#C5CC57 #57CC99 #5E57CC #CC578A
square
#C5CC57 #57CC99 #5E57CC #CC578A
split-complementary
#C5CC57 #578ACC #9957CC
monochromatic
#7C8127 #A9B036 #C5CC57 #D5DA86 #E5E9B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC57#FFFFFF#000000##000000
##C5CC571.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)
#DAC34A
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D1C1B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc57;
/* rgb */ color: rgb(197, 204, 87);
/* oklch */ color: oklch(81.7% 0.140 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db8b',
    500: '#c5cc57',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc57;
$custom-light: #d9db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc57",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 63.59,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81679,
    "c": 0.14038,
    "h": 112.3
  },
  "luminance": 0.55744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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