#C2C525#C2C525

#C2C525 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#C2C525
RGBrgb(194, 197, 37)
HSLhsl(61, 68%, 46%)
HSVhsv(61, 81%, 77%)
CMYKcmyk(1.5%, 0%, 81.2%, 22.7%)
CIE-LABlab(77.00, -18.38, 71.78)
CIE-LCHlch(77.00, 74.10, 104.36°)
OKLaboklab(79.55% -0.0588 0.155)
OKLCHoklch(79.55% 0.166 110.8)
XYZxyz(42.5499, 51.5366, 9.4561)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C525 #2825C5
analogous
#C57825 #C2C525 #72C525
triadic
#C2C525 #25C2C5 #C525C2
tetradic
#C2C525 #25C578 #2825C5 #C52572
square
#C2C525 #25C578 #2825C5 #C52572
split-complementary
#C2C525 #2572C5 #7825C5
monochromatic
#5D5E12 #8F911B #C2C525 #DADD4A #E5E77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C525#FFFFFF#000000##000000
##C2C5251.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)
#D6C035
Tritanopia (blue-blind)
#D0B8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c2c525;
/* rgb */ color: rgb(194, 197, 37);
/* oklch */ color: oklch(79.5% 0.166 110.8);
Tailwind
colors: {
  custom: {
    50: '#d9d670',
    500: '#c2c525',
    950: '#000000',
  },
}
SCSS
$custom: #c2c525;
$custom-light: #d9d670;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c525",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 37
  },
  "hsl": {
    "h": 61.125,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.79546,
    "c": 0.1658,
    "h": 110.8
  },
  "luminance": 0.51535
}

Semantic roles & 50–950 ramp

primary
#C2C525
secondary
#262569
accent
#3DEB40
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C2C525

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

Preview Lab → · Contrast checker → · Palette generator →

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