#C2CA52#C2CA52

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

Color values

HEX#C2CA52
RGBrgb(194, 202, 82)
HSLhsl(64, 53%, 56%)
HSVhsv(64, 59%, 79%)
CMYKcmyk(4%, 0%, 59.4%, 20.8%)
CIE-LABlab(78.65, -18.58, 57.43)
CIE-LCHlch(78.65, 60.36, 107.93°)
OKLaboklab(80.95% -0.0553 0.1319)
OKLCHoklch(80.95% 0.143 112.7)
XYZxyz(44.8928, 54.3205, 16.1010)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CA52 #5A52CA
analogous
#CA9652 #C2CA52 #86CA52
triadic
#C2CA52 #52C2CA #CA52C2
tetradic
#C2CA52 #52CA96 #5A52CA #CA5286
square
#C2CA52 #52CA96 #5A52CA #CA5286
split-complementary
#C2CA52 #5286CA #9652CA
monochromatic
#767C26 #A3AB34 #C2CA52 #D3D881 #E3E7B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2CA52#FFFFFF#000000##000000
##C2CA521.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)
#D8C144
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#CEBFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2ca52;
/* rgb */ color: rgb(194, 202, 82);
/* oklch */ color: oklch(81.0% 0.143 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7da87',
    500: '#c2ca52',
    950: '#000000',
  },
}
SCSS
$custom: #c2ca52;
$custom-light: #d7da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ca52",
  "rgb": {
    "r": 194,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 64,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80952,
    "c": 0.14304,
    "h": 112.7
  },
  "luminance": 0.5432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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