#C5CC4F#C5CC4F

#C5CC4F is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.147 H 112.3°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C5CC4F
RGBrgb(197, 204, 79)
HSLhsl(63, 55%, 55%)
HSVhsv(63, 61%, 80%)
CMYKcmyk(3.4%, 0%, 61.3%, 20%)
CIE-LABlab(79.40, -18.55, 59.59)
CIE-LCHlch(79.40, 62.41, 107.29°)
OKLaboklab(81.6% -0.0557 0.1361)
OKLCHoklch(81.6% 0.147 112.3)
XYZxyz(46.0313, 55.6215, 15.7068)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC4F #564FCC
analogous
#CC944F #C5CC4F #86CC4F
triadic
#C5CC4F #4FC5CC #CC4FC5
tetradic
#C5CC4F #4FCC94 #564FCC #CC4F86
square
#C5CC4F #4FCC94 #564FCC #CC4F86
split-complementary
#C5CC4F #4F86CC #944FCC
monochromatic
#787D24 #A5AC32 #C5CC4F #D5DA7E #E4E7AE

Accessibility & contrast

On white

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

On black

12.12
#C5CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC4F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC4F#FFFFFF#000000##000000
##C5CC4F1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#D1C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc4f;
/* rgb */ color: rgb(197, 204, 79);
/* oklch */ color: oklch(81.6% 0.147 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db86',
    500: '#c5cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc4f;
$custom-light: #d9db86;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc4f",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 63.36,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.816,
    "c": 0.147,
    "h": 112.3
  },
  "luminance": 0.55621
}

Semantic roles & 50–950 ramp

primary
#C5CC4F
secondary
#3F3B84
accent
#49DE52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C5CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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