#C5CC41#C5CC41

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

Color values

HEX#C5CC41
RGBrgb(197, 204, 65)
HSLhsl(63, 58%, 53%)
HSVhsv(63, 68%, 80%)
CMYKcmyk(3.4%, 0%, 68.1%, 20%)
CIE-LABlab(79.29, -19.40, 65.06)
CIE-LCHlch(79.29, 67.90, 106.60°)
OKLaboklab(81.48% -0.0595 0.1455)
OKLCHoklch(81.48% 0.157 112.2)
XYZxyz(45.5743, 55.4388, 13.3000)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC41 #4841CC
analogous
#CC8E41 #C5CC41 #7FCC41
triadic
#C5CC41 #41C5CC #CC41C5
tetradic
#C5CC41 #41CC8E #4841CC #CC417F
square
#C5CC41 #41CC8E #4841CC #CC417F
split-complementary
#C5CC41 #417FCC #8E41CC
monochromatic
#6F741F #9EA42C #C5CC41 #D4D971 #E2E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC41#FFFFFF#000000##000000
##C5CC411.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)
#DBC32B
Deuteranopia (green-blind)
#DCC64B
Tritanopia (blue-blind)
#D2C0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc41;
/* rgb */ color: rgb(197, 204, 65);
/* oklch */ color: oklch(81.5% 0.157 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb7e',
    500: '#c5cc41',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc41;
$custom-light: #dadb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc41",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 63.022,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81482,
    "c": 0.15719,
    "h": 112.2
  },
  "luminance": 0.55438
}

Semantic roles & 50–950 ramp

primary
#C5CC41
secondary
#38357C
accent
#47E14F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5CC41

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

Preview Lab → · Contrast checker → · Palette generator →

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