#C5CC47#C5CC47

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

Color values

HEX#C5CC47
RGBrgb(197, 204, 71)
HSLhsl(63, 57%, 54%)
HSVhsv(63, 65%, 80%)
CMYKcmyk(3.4%, 0%, 65.2%, 20%)
CIE-LABlab(79.34, -19.06, 62.79)
CIE-LCHlch(79.34, 65.62, 106.88°)
OKLaboklab(81.53% -0.0579 0.1417)
OKLCHoklch(81.53% 0.153 112.2)
XYZxyz(45.7575, 55.5120, 14.2645)
Luminance0.5551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC47 #4E47CC
analogous
#CC9147 #C5CC47 #83CC47
triadic
#C5CC47 #47C5CC #CC47C5
tetradic
#C5CC47 #47CC91 #4E47CC #CC4783
square
#C5CC47 #47CC91 #4E47CC #CC4783
split-complementary
#C5CC47 #4783CC #9147CC
monochromatic
#737721 #A1A72E #C5CC47 #D4D977 #E3E7A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC47#FFFFFF#000000##000000
##C5CC471.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)
#DBC335
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#D2C0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c5cc47;
/* rgb */ color: rgb(197, 204, 71);
/* oklch */ color: oklch(81.5% 0.153 112.2);
Tailwind
colors: {
  custom: {
    50: '#dadb81',
    500: '#c5cc47',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc47;
$custom-light: #dadb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc47",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 63.158,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81529,
    "c": 0.15306,
    "h": 112.2
  },
  "luminance": 0.55511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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