#C2CC47#C2CC47

#C2CC47 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.3% C 0.154 H 113.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C2CC47
RGBrgb(194, 204, 71)
HSLhsl(65, 57%, 54%)
HSVhsv(65, 65%, 80%)
CMYKcmyk(4.9%, 0%, 65.2%, 20%)
CIE-LABlab(79.11, -20.30, 62.48)
CIE-LCHlch(79.11, 65.70, 108.00°)
OKLaboklab(81.29% -0.0612 0.1411)
OKLCHoklch(81.29% 0.154 113.5)
XYZxyz(44.9795, 55.1109, 14.2280)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC47 #5147CC
analogous
#CC9447 #C2CC47 #80CC47
triadic
#C2CC47 #47C2CC #CC47C2
tetradic
#C2CC47 #47CC94 #5147CC #CC4780
square
#C2CC47 #47CC94 #5147CC #CC4780
split-complementary
#C2CC47 #4780CC #9447CC
monochromatic
#717721 #9EA72E #C2CC47 #D2D977 #E2E7A7

Accessibility & contrast

On white

1.75
#C2CC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#C2CC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC47
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC47#FFFFFF#000000##000000
##C2CC471.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC335
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc47;
/* rgb */ color: rgb(194, 204, 71);
/* oklch */ color: oklch(81.3% 0.154 113.5);
Tailwind
colors: {
  custom: {
    50: '#d7db81',
    500: '#c2cc47',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc47;
$custom-light: #d7db81;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc47",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 64.511,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81288,
    "c": 0.1538,
    "h": 113.5
  },
  "luminance": 0.5511
}

Semantic roles & 50–950 ramp

primary
#C2CC47
secondary
#3D3780
accent
#48E053
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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