#C5CC4A#C5CC4A

#C5CC4A is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.151 H 112.2°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C5CC4A
RGBrgb(197, 204, 74)
HSLhsl(63, 56%, 55%)
HSVhsv(63, 64%, 80%)
CMYKcmyk(3.4%, 0%, 63.7%, 20%)
CIE-LABlab(79.36, -18.87, 61.61)
CIE-LCHlch(79.36, 64.44, 107.03°)
OKLaboklab(81.56% -0.0571 0.1396)
OKLCHoklch(81.56% 0.151 112.2)
XYZxyz(45.8561, 55.5515, 14.7841)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC4A #514ACC
analogous
#CC924A #C5CC4A #84CC4A
triadic
#C5CC4A #4AC5CC #CC4AC5
tetradic
#C5CC4A #4ACC92 #514ACC #CC4A84
square
#C5CC4A #4ACC92 #514ACC #CC4A84
split-complementary
#C5CC4A #4A84CC #924ACC
monochromatic
#757922 #A3A930 #C5CC4A #D4D97A #E4E7A9

Accessibility & contrast

On white

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

On black

12.11
#C5CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC4A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC4A#FFFFFF#000000##000000
##C5CC4A1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#D2C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc4a;
/* rgb */ color: rgb(197, 204, 74);
/* oklch */ color: oklch(81.6% 0.151 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb83',
    500: '#c5cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc4a;
$custom-light: #dadb83;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc4a",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 63.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81555,
    "c": 0.15086,
    "h": 112.2
  },
  "luminance": 0.5555
}

Semantic roles & 50–950 ramp

primary
#C5CC4A
secondary
#3D3982
accent
#48DF51
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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