#C2CD51#C2CD51

#C2CD51 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.147 H 113.9°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#C2CD51
RGBrgb(194, 205, 81)
HSLhsl(65, 55%, 56%)
HSVhsv(65, 60%, 80%)
CMYKcmyk(5.4%, 0%, 60.5%, 19.6%)
CIE-LABlab(79.46, -20.13, 58.74)
CIE-LCHlch(79.46, 62.09, 108.92°)
OKLaboklab(81.6% -0.0598 0.1346)
OKLCHoklch(81.6% 0.147 113.9)
XYZxyz(45.5657, 55.7269, 16.1390)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CD51 #5C51CD
analogous
#CD9A51 #C2CD51 #84CD51
triadic
#C2CD51 #51C2CD #CD51C2
tetradic
#C2CD51 #51CD9A #5C51CD #CD5184
square
#C2CD51 #51CD9A #5C51CD #CD5184
split-complementary
#C2CD51 #5184CD #9A51CD
monochromatic
#777F25 #A4AF32 #C2CD51 #D3DB81 #E3E8B0

Accessibility & contrast

On white

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

On black

12.15
#C2CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CD51
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CD51#FFFFFF#000000##000000
##C2CD511.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#CEC2B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c2cd51;
/* rgb */ color: rgb(194, 205, 81);
/* oklch */ color: oklch(81.6% 0.147 113.9);
Tailwind
colors: {
  custom: {
    50: '#d7dc87',
    500: '#c2cd51',
    950: '#000000',
  },
}
SCSS
$custom: #c2cd51;
$custom-light: #d7dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cd51",
  "rgb": {
    "r": 194,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 65.323,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81597,
    "c": 0.14726,
    "h": 113.9
  },
  "luminance": 0.55726
}

Semantic roles & 50–950 ramp

primary
#C2CD51
secondary
#423B87
accent
#49DF56
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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