#C5CC2E#C5CC2E

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

Color values

HEX#C5CC2E
RGBrgb(197, 204, 46)
HSLhsl(63, 63%, 49%)
HSVhsv(63, 77%, 80%)
CMYKcmyk(3.4%, 0%, 77.5%, 20%)
CIE-LABlab(79.19, -20.27, 71.33)
CIE-LCHlch(79.19, 74.15, 105.86°)
OKLaboklab(81.36% -0.0636 0.1555)
OKLCHoklch(81.36% 0.168 112.2)
XYZxyz(45.1135, 55.2544, 10.8729)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC2E #352ECC
analogous
#CC842E #C5CC2E #76CC2E
triadic
#C5CC2E #2EC5CC #CC2EC5
tetradic
#C5CC2E #2ECC84 #352ECC #CC2E76
square
#C5CC2E #2ECC84 #352ECC #CC2E76
split-complementary
#C5CC2E #2E76CC #842ECC
monochromatic
#656817 #959A23 #C5CC2E #D5DA5D #E2E68F

Accessibility & contrast

On white

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

On black

12.05
#C5CC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC2E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC2E#FFFFFF#000000##000000
##C5CC2E1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DCC63C
Tritanopia (blue-blind)
#D3BFAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc2e;
/* rgb */ color: rgb(197, 204, 46);
/* oklch */ color: oklch(81.4% 0.168 112.2);
Tailwind
colors: {
  custom: {
    50: '#dbdb75',
    500: '#c5cc2e',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc2e;
$custom-light: #dbdb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc2e",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 46
  },
  "hsl": {
    "h": 62.658,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.81364,
    "c": 0.16798,
    "h": 112.2
  },
  "luminance": 0.55253
}

Semantic roles & 50–950 ramp

primary
#C5CC2E
secondary
#2F2C72
accent
#42E649
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5CC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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