#C5CC49#C5CC49

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

Color values

HEX#C5CC49
RGBrgb(197, 204, 73)
HSLhsl(63, 56%, 54%)
HSVhsv(63, 64%, 80%)
CMYKcmyk(3.4%, 0%, 64.2%, 20%)
CIE-LABlab(79.35, -18.93, 62.01)
CIE-LCHlch(79.35, 64.84, 106.98°)
OKLaboklab(81.55% -0.0574 0.1403)
OKLCHoklch(81.55% 0.152 112.2)
XYZxyz(45.8227, 55.5381, 14.6081)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC49 #5049CC
analogous
#CC9249 #C5CC49 #84CC49
triadic
#C5CC49 #49C5CC #CC49C5
tetradic
#C5CC49 #49CC92 #5049CC #CC4984
square
#C5CC49 #49CC92 #5049CC #CC4984
split-complementary
#C5CC49 #4984CC #9249CC
monochromatic
#747922 #A2A92F #C5CC49 #D4D979 #E3E7A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC49#FFFFFF#000000##000000
##C5CC491.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)
#DBC337
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#D2C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc49;
/* rgb */ color: rgb(197, 204, 73);
/* oklch */ color: oklch(81.5% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb82',
    500: '#c5cc49',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc49;
$custom-light: #dadb82;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc49",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 63.206,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81546,
    "c": 0.15159,
    "h": 112.2
  },
  "luminance": 0.55537
}

Semantic roles & 50–950 ramp

primary
#C5CC49
secondary
#3C3881
accent
#48E050
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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