#C2CD2C#C2CD2C

#C2CD2C is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.3% C 0.171 H 113.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#C2CD2C
RGBrgb(194, 205, 44)
HSLhsl(64, 65%, 49%)
HSVhsv(64, 79%, 80%)
CMYKcmyk(5.4%, 0%, 78.5%, 19.6%)
CIE-LABlab(79.22, -22.09, 71.84)
CIE-LCHlch(79.22, 75.16, 107.09°)
OKLaboklab(81.33% -0.0686 0.1564)
OKLCHoklch(81.33% 0.171 113.7)
XYZxyz(44.5355, 55.3148, 10.7132)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD2C #372CCD
analogous
#CD882C #C2CD2C #72CD2C
triadic
#C2CD2C #2CC2CD #CD2CC2
tetradic
#C2CD2C #2CCD88 #372CCD #CD2C72
square
#C2CD2C #2CCD88 #372CCD #CD2C72
split-complementary
#C2CD2C #2C72CD #882CCD
monochromatic
#636816 #929B21 #C2CD2C #D3DC5B #E0E78D

Accessibility & contrast

On white

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

On black

12.06
#C2CD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD2C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD2C#FFFFFF#000000##000000
##C2CD2C1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cd2c;
/* rgb */ color: rgb(194, 205, 44);
/* oklch */ color: oklch(81.3% 0.171 113.7);
Tailwind
colors: {
  custom: {
    50: '#d8dc74',
    500: '#c2cd2c',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd2c;
$custom-light: #d8dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd2c",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 64.099,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81332,
    "c": 0.17075,
    "h": 113.7
  },
  "luminance": 0.55314
}

Semantic roles & 50–950 ramp

primary
#C2CD2C
secondary
#302B72
accent
#40E84C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2CD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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