#C2CC46#C2CC46

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

Color values

HEX#C2CC46
RGBrgb(194, 204, 70)
HSLhsl(64, 57%, 54%)
HSVhsv(64, 66%, 80%)
CMYKcmyk(4.9%, 0%, 65.7%, 20%)
CIE-LABlab(79.10, -20.36, 62.87)
CIE-LCHlch(79.10, 66.09, 107.94°)
OKLaboklab(81.28% -0.0615 0.1417)
OKLCHoklch(81.28% 0.155 113.5)
XYZxyz(44.9477, 55.0982, 14.0604)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC46 #5046CC
analogous
#CC9346 #C2CC46 #7FCC46
triadic
#C2CC46 #46C2CC #CC46C2
tetradic
#C2CC46 #46CC93 #5046CC #CC467F
square
#C2CC46 #46CC93 #5046CC #CC467F
split-complementary
#C2CC46 #467FCC #9346CC
monochromatic
#707721 #9EA72E #C2CC46 #D2D976 #E2E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CC46#FFFFFF#000000##000000
##C2CC461.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)
#DBC333
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#CEC0B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc46;
/* rgb */ color: rgb(194, 204, 70);
/* oklch */ color: oklch(81.3% 0.155 113.5);
Tailwind
colors: {
  custom: {
    50: '#d8db80',
    500: '#c2cc46',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc46;
$custom-light: #d8db80;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc46",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 64.478,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8128,
    "c": 0.15452,
    "h": 113.5
  },
  "luminance": 0.55097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2CC46

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

Preview Lab → · Contrast checker → · Palette generator →

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