#C2CD3A#C2CD3A

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

Color values

HEX#C2CD3A
RGBrgb(194, 205, 58)
HSLhsl(64, 60%, 52%)
HSVhsv(64, 72%, 80%)
CMYKcmyk(5.4%, 0%, 71.7%, 19.6%)
CIE-LABlab(79.29, -21.50, 67.51)
CIE-LCHlch(79.29, 70.85, 107.66°)
OKLaboklab(81.41% -0.0658 0.1496)
OKLCHoklch(81.41% 0.163 113.8)
XYZxyz(44.8445, 55.4384, 12.3405)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD3A #453ACD
analogous
#CD8F3A #C2CD3A #79CD3A
triadic
#C2CD3A #3AC2CD #CD3AC2
tetradic
#C2CD3A #3ACD8F #453ACD #CD3A79
square
#C2CD3A #3ACD8F #453ACD #CD3A79
split-complementary
#C2CD3A #3A79CD #8F3ACD
monochromatic
#6A701C #98A129 #C2CD3A #D1D96B #E0E69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CD3A#FFFFFF#000000##000000
##C2CD3A1.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)
#DCC31E
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#CFC1B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd3a;
/* rgb */ color: rgb(194, 205, 58);
/* oklch */ color: oklch(81.4% 0.163 113.8);
Tailwind
colors: {
  custom: {
    50: '#d8dc7a',
    500: '#c2cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd3a;
$custom-light: #d8dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd3a",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 64.49,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81412,
    "c": 0.16343,
    "h": 113.8
  },
  "luminance": 0.55437
}

Semantic roles & 50–950 ramp

primary
#C2CD3A
secondary
#373279
accent
#45E351
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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