#C5CC45#C5CC45

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

Color values

HEX#C5CC45
RGBrgb(197, 204, 69)
HSLhsl(63, 57%, 54%)
HSVhsv(63, 66%, 80%)
CMYKcmyk(3.4%, 0%, 66.2%, 20%)
CIE-LABlab(79.32, -19.17, 63.56)
CIE-LCHlch(79.32, 66.39, 106.79°)
OKLaboklab(81.51% -0.0585 0.143)
OKLCHoklch(81.51% 0.154 112.2)
XYZxyz(45.6943, 55.4868, 13.9320)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC45 #4C45CC
analogous
#CC8F45 #C5CC45 #81CC45
triadic
#C5CC45 #45C5CC #CC45C5
tetradic
#C5CC45 #45CC8F #4C45CC #CC4581
square
#C5CC45 #45CC8F #4C45CC #CC4581
split-complementary
#C5CC45 #4581CC #8F45CC
monochromatic
#727620 #A0A62E #C5CC45 #D4D975 #E3E6A5

Accessibility & contrast

On white

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

On black

12.10
#C5CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5CC45
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5CC45#FFFFFF#000000##000000
##C5CC451.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC332
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#D2C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc45;
/* rgb */ color: rgb(197, 204, 69);
/* oklch */ color: oklch(81.5% 0.154 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb80',
    500: '#c5cc45',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc45;
$custom-light: #dadb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc45",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 63.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81513,
    "c": 0.15447,
    "h": 112.2
  },
  "luminance": 0.55486
}

Semantic roles & 50–950 ramp

primary
#C5CC45
secondary
#3A367F
accent
#48E04F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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