#C2CD3C#C2CD3C

#C2CD3C is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.4% C 0.162 H 113.8°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#C2CD3C
RGBrgb(194, 205, 60)
HSLhsl(65, 59%, 52%)
HSVhsv(65, 71%, 80%)
CMYKcmyk(5.4%, 0%, 70.7%, 19.6%)
CIE-LABlab(79.31, -21.40, 66.82)
CIE-LCHlch(79.31, 70.16, 107.76°)
OKLaboklab(81.43% -0.0654 0.1485)
OKLCHoklch(81.43% 0.162 113.8)
XYZxyz(44.8964, 55.4591, 12.6137)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD3C #473CCD
analogous
#CD903C #C2CD3C #79CD3C
triadic
#C2CD3C #3CC2CD #CD3CC2
tetradic
#C2CD3C #3CCD90 #473CCD #CD3C79
square
#C2CD3C #3CCD90 #473CCD #CD3C79
split-complementary
#C2CD3C #3C79CD #903CCD
monochromatic
#6B711D #99A22A #C2CD3C #D1D96D #E0E69D

Accessibility & contrast

On white

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

On black

12.09
#C2CD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD3C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD3C#FFFFFF#000000##000000
##C2CD3C1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC322
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#CFC1B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd3c;
/* rgb */ color: rgb(194, 205, 60);
/* oklch */ color: oklch(81.4% 0.162 113.8);
Tailwind
colors: {
  custom: {
    50: '#d8dc7b',
    500: '#c2cd3c',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd3c;
$custom-light: #d8dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd3c",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 60
  },
  "hsl": {
    "h": 64.552,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81425,
    "c": 0.16222,
    "h": 113.8
  },
  "luminance": 0.55458
}

Semantic roles & 50–950 ramp

primary
#C2CD3C
secondary
#38337A
accent
#45E251
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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