#C2C524#C2C524

#C2C524 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.5% C 0.166 H 110.8°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#C2C524
RGBrgb(194, 197, 36)
HSLhsl(61, 69%, 46%)
HSVhsv(61, 82%, 77%)
CMYKcmyk(1.5%, 0%, 81.7%, 22.7%)
CIE-LABlab(77.00, -18.41, 72.03)
CIE-LCHlch(77.00, 74.35, 104.34°)
OKLaboklab(79.54% -0.059 0.1554)
OKLCHoklch(79.54% 0.166 110.8)
XYZxyz(42.5344, 51.5304, 9.3745)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C524 #2724C5
analogous
#C57724 #C2C524 #71C524
triadic
#C2C524 #24C2C5 #C524C2
tetradic
#C2C524 #24C577 #2724C5 #C52471
square
#C2C524 #24C577 #2724C5 #C52471
split-complementary
#C2C524 #2471C5 #7724C5
monochromatic
#5C5E11 #8F911B #C2C524 #DBDE49 #E5E77C

Accessibility & contrast

On white

1.86
#C2C524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#C2C524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C524
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C524#FFFFFF#000000##000000
##C2C5241.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D6C034
Tritanopia (blue-blind)
#D0B8A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c524;
/* rgb */ color: rgb(194, 197, 36);
/* oklch */ color: oklch(79.5% 0.166 110.8);
Tailwind
colors: {
  custom: {
    50: '#d9d670',
    500: '#c2c524',
    950: '#000000',
  },
}
SCSS
$custom: #c2c524;
$custom-light: #d9d670;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c524",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 36
  },
  "hsl": {
    "h": 61.118,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.79542,
    "c": 0.1662,
    "h": 110.8
  },
  "luminance": 0.51529
}

Semantic roles & 50–950 ramp

primary
#C2C524
secondary
#262469
accent
#3CEC3F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C2C524

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

Preview Lab → · Contrast checker → · Palette generator →

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