#C5CC40#C5CC40

#C5CC40 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.5% C 0.158 H 112.2°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#C5CC40
RGBrgb(197, 204, 64)
HSLhsl(63, 58%, 53%)
HSVhsv(63, 69%, 80%)
CMYKcmyk(3.4%, 0%, 68.6%, 20%)
CIE-LABlab(79.29, -19.45, 65.43)
CIE-LCHlch(79.29, 68.26, 106.56°)
OKLaboklab(81.47% -0.0597 0.1461)
OKLCHoklch(81.47% 0.158 112.2)
XYZxyz(45.5456, 55.4273, 13.1488)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC40 #4740CC
analogous
#CC8D40 #C5CC40 #7FCC40
triadic
#C5CC40 #40C5CC #CC40C5
tetradic
#C5CC40 #40CC8D #4740CC #CC407F
square
#C5CC40 #40CC8D #4740CC #CC407F
split-complementary
#C5CC40 #407FCC #8D40CC
monochromatic
#6F731F #9DA32C #C5CC40 #D4D970 #E2E6A1

Accessibility & contrast

On white

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

On black

12.09
#C5CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC40
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC40#FFFFFF#000000##000000
##C5CC401.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32A
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#D2C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc40;
/* rgb */ color: rgb(197, 204, 64);
/* oklch */ color: oklch(81.5% 0.158 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb7d',
    500: '#c5cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc40;
$custom-light: #dadb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc40",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 63,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81475,
    "c": 0.15785,
    "h": 112.2
  },
  "luminance": 0.55426
}

Semantic roles & 50–950 ramp

primary
#C5CC40
secondary
#38347C
accent
#47E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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