#C2CC3E#C2CC3E

#C2CC3E is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.2% C 0.160 H 113.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C2CC3E
RGBrgb(194, 204, 62)
HSLhsl(64, 58%, 52%)
HSVhsv(64, 70%, 80%)
CMYKcmyk(4.9%, 0%, 69.6%, 20%)
CIE-LABlab(79.04, -20.81, 65.85)
CIE-LCHlch(79.04, 69.06, 107.53°)
OKLaboklab(81.22% -0.0635 0.1468)
OKLCHoklch(81.22% 0.16 113.4)
XYZxyz(44.7118, 55.0038, 12.8180)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC3E #483ECC
analogous
#CC8F3E #C2CC3E #7BCC3E
triadic
#C2CC3E #3EC2CC #CC3EC2
tetradic
#C2CC3E #3ECC8F #483ECC #CC3E7B
square
#C2CC3E #3ECC8F #483ECC #CC3E7B
split-complementary
#C2CC3E #3E7BCC #8F3ECC
monochromatic
#6C721E #9AA22B #C2CC3E #D1D96E #E1E69F

Accessibility & contrast

On white

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

On black

12.00
#C2CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC3E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC3E#FFFFFF#000000##000000
##C2CC3E1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC226
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#CFC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cc3e;
/* rgb */ color: rgb(194, 204, 62);
/* oklch */ color: oklch(81.2% 0.160 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db7c',
    500: '#c2cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc3e;
$custom-light: #d8db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc3e",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 64.225,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81219,
    "c": 0.15991,
    "h": 113.4
  },
  "luminance": 0.55003
}

Semantic roles & 50–950 ramp

primary
#C2CC3E
secondary
#39347B
accent
#46E151
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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