#C2CD2A#C2CD2A

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

Color values

HEX#C2CD2A
RGBrgb(194, 205, 42)
HSLhsl(64, 66%, 48%)
HSVhsv(64, 80%, 80%)
CMYKcmyk(5.4%, 0%, 79.5%, 19.6%)
CIE-LABlab(79.21, -22.16, 72.39)
CIE-LCHlch(79.21, 75.70, 107.02°)
OKLaboklab(81.32% -0.0689 0.1572)
OKLCHoklch(81.32% 0.172 113.7)
XYZxyz(44.4988, 55.3001, 10.5199)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD2A #352ACD
analogous
#CD862A #C2CD2A #70CD2A
triadic
#C2CD2A #2AC2CD #CD2AC2
tetradic
#C2CD2A #2ACD86 #352ACD #CD2A70
square
#C2CD2A #2ACD86 #352ACD #CD2A70
split-complementary
#C2CD2A #2A70CD #862ACD
monochromatic
#626715 #929A20 #C2CD2A #D4DD58 #E1E78A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CD2A#FFFFFF#000000##000000
##C2CD2A1.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)
#DCC63A
Tritanopia (blue-blind)
#CFC0B0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cd2a;
/* rgb */ color: rgb(194, 205, 42);
/* oklch */ color: oklch(81.3% 0.172 113.7);
Tailwind
colors: {
  custom: {
    50: '#d9dc73',
    500: '#c2cd2a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd2a;
$custom-light: #d9dc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd2a",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 42
  },
  "hsl": {
    "h": 64.049,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81323,
    "c": 0.17163,
    "h": 113.7
  },
  "luminance": 0.55299
}

Semantic roles & 50–950 ramp

primary
#C2CD2A
secondary
#2F2A71
accent
#3FE94A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #C2CD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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