#C2CA51#C2CA51

#C2CA51 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.9% C 0.144 H 112.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C2CA51
RGBrgb(194, 202, 81)
HSLhsl(64, 53%, 55%)
HSVhsv(64, 60%, 79%)
CMYKcmyk(4%, 0%, 59.9%, 20.8%)
CIE-LABlab(78.64, -18.65, 57.85)
CIE-LCHlch(78.64, 60.78, 107.87°)
OKLaboklab(80.94% -0.0556 0.1327)
OKLCHoklch(80.94% 0.144 112.7)
XYZxyz(44.8550, 54.3054, 15.9021)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA51 #5951CA
analogous
#CA9551 #C2CA51 #85CA51
triadic
#C2CA51 #51C2CA #CA51C2
tetradic
#C2CA51 #51CA95 #5951CA #CA5185
square
#C2CA51 #51CA95 #5951CA #CA5185
split-complementary
#C2CA51 #5185CA #9551CA
monochromatic
#757B25 #A2AA34 #C2CA51 #D2D880 #E3E7AF

Accessibility & contrast

On white

1.77
#C2CA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#C2CA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CA51
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CA51#FFFFFF#000000##000000
##C2CA511.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#CEBFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2ca51;
/* rgb */ color: rgb(194, 202, 81);
/* oklch */ color: oklch(80.9% 0.144 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7da87',
    500: '#c2ca51',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca51;
$custom-light: #d7da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca51",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 63.967,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80942,
    "c": 0.14387,
    "h": 112.7
  },
  "luminance": 0.54304
}

Semantic roles & 50–950 ramp

primary
#C2CA51
secondary
#413C83
accent
#4BDD55
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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