#C2CC2F#C2CC2F

#C2CC2F is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.1% C 0.168 H 113.4°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C2CC2F
RGBrgb(194, 204, 47)
HSLhsl(64, 63%, 49%)
HSVhsv(64, 77%, 80%)
CMYKcmyk(4.9%, 0%, 77%, 20%)
CIE-LABlab(78.96, -21.49, 70.74)
CIE-LCHlch(78.96, 73.94, 106.90°)
OKLaboklab(81.13% -0.0667 0.1545)
OKLCHoklch(81.13% 0.168 113.4)
XYZxyz(44.3555, 54.8613, 10.9415)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CC2F #392FCC
analogous
#CC882F #C2CC2F #73CC2F
triadic
#C2CC2F #2FC2CC #CC2FC2
tetradic
#C2CC2F #2FCC88 #392FCC #CC2F73
square
#C2CC2F #2FCC88 #392FCC #CC2F73
split-complementary
#C2CC2F #2F73CC #882FCC
monochromatic
#636918 #939A24 #C2CC2F #D2DA5E #E0E590

Accessibility & contrast

On white

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

On black

11.97
#C2CC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CC2F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CC2F#FFFFFF#000000##000000
##C2CC2F1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#DBC53D
Tritanopia (blue-blind)
#CFBFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cc2f;
/* rgb */ color: rgb(194, 204, 47);
/* oklch */ color: oklch(81.1% 0.168 113.4);
Tailwind
colors: {
  custom: {
    50: '#d8db75',
    500: '#c2cc2f',
    950: '#000000',
  },
}
SCSS
$custom: #c2cc2f;
$custom-light: #d8db75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cc2f",
  "rgb": {
    "r": 194,
    "g": 204,
    "b": 47
  },
  "hsl": {
    "h": 63.822,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81127,
    "c": 0.16832,
    "h": 113.4
  },
  "luminance": 0.5486
}

Semantic roles & 50–950 ramp

primary
#C2CC2F
secondary
#312D72
accent
#42E64D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C2CC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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