#C5CC37#C5CC37

#C5CC37 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.4% C 0.163 H 112.2°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#C5CC37
RGBrgb(197, 204, 55)
HSLhsl(63, 59%, 51%)
HSVhsv(63, 73%, 80%)
CMYKcmyk(3.4%, 0%, 73%, 20%)
CIE-LABlab(79.23, -19.90, 68.55)
CIE-LCHlch(79.23, 71.38, 106.18°)
OKLaboklab(81.42% -0.0618 0.1512)
OKLCHoklch(81.42% 0.163 112.2)
XYZxyz(45.3099, 55.3330, 11.9072)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC37 #3E37CC
analogous
#CC8837 #C5CC37 #7ACC37
triadic
#C5CC37 #37C5CC #CC37C5
tetradic
#C5CC37 #37CC88 #3E37CC #CC377A
square
#C5CC37 #37CC88 #3E37CC #CC377A
split-complementary
#C5CC37 #377ACC #8837CC
monochromatic
#696D1C #989E28 #C5CC37 #D3D868 #E1E599

Accessibility & contrast

On white

1.74
#C5CC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#C5CC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC37
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC37#FFFFFF#000000##000000
##C5CC371.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC218
Deuteranopia (green-blind)
#DCC643
Tritanopia (blue-blind)
#D2BFB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc37;
/* rgb */ color: rgb(197, 204, 55);
/* oklch */ color: oklch(81.4% 0.163 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb79',
    500: '#c5cc37',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc37;
$custom-light: #dadb79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc37",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 55
  },
  "hsl": {
    "h": 62.819,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81415,
    "c": 0.16331,
    "h": 112.2
  },
  "luminance": 0.55332
}

Semantic roles & 50–950 ramp

primary
#C5CC37
secondary
#343176
accent
#45E34D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CC37

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

Preview Lab → · Contrast checker → · Palette generator →

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