#C2CD42#C2CD42

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

Color values

HEX#C2CD42
RGBrgb(194, 205, 66)
HSLhsl(65, 58%, 53%)
HSVhsv(65, 68%, 80%)
CMYKcmyk(5.4%, 0%, 67.8%, 19.6%)
CIE-LABlab(79.34, -21.08, 64.66)
CIE-LCHlch(79.34, 68.01, 108.06°)
OKLaboklab(81.47% -0.0639 0.1449)
OKLCHoklch(81.47% 0.158 113.8)
XYZxyz(45.0641, 55.5262, 13.4969)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD42 #4D42CD
analogous
#CD9242 #C2CD42 #7CCD42
triadic
#C2CD42 #42C2CD #CD42C2
tetradic
#C2CD42 #42CD92 #4D42CD #CD427C
square
#C2CD42 #42CD92 #4D42CD #CD427C
split-complementary
#C2CD42 #427CCD #9242CD
monochromatic
#6F761F #9CA62C #C2CD42 #D2DA72 #E1E7A3

Accessibility & contrast

On white

1.73
#C2CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#C2CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD42
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD42#FFFFFF#000000##000000
##C2CD421.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32D
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#CFC1B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd42;
/* rgb */ color: rgb(194, 205, 66);
/* oklch */ color: oklch(81.5% 0.158 113.8);
Tailwind
colors: {
  custom: {
    50: '#d8dc7e',
    500: '#c2cd42',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd42;
$custom-light: #d8dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd42",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 64.748,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81468,
    "c": 0.15837,
    "h": 113.8
  },
  "luminance": 0.55525
}

Semantic roles & 50–950 ramp

primary
#C2CD42
secondary
#3B357E
accent
#46E153
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C2CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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