#C2C526#C2C526

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

Color values

HEX#C2C526
RGBrgb(194, 197, 38)
HSLhsl(61, 68%, 46%)
HSVhsv(61, 81%, 77%)
CMYKcmyk(1.5%, 0%, 80.7%, 22.7%)
CIE-LABlab(77.01, -18.35, 71.53)
CIE-LCHlch(77.01, 73.84, 104.39°)
OKLaboklab(79.55% -0.0587 0.1546)
OKLCHoklch(79.55% 0.165 110.8)
XYZxyz(42.5658, 51.5430, 9.5399)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C526 #2926C5
analogous
#C57826 #C2C526 #72C526
triadic
#C2C526 #26C2C5 #C526C2
tetradic
#C2C526 #26C578 #2926C5 #C52672
square
#C2C526 #26C578 #2926C5 #C52672
split-complementary
#C2C526 #2672C5 #7826C5
monochromatic
#5D5E12 #8F921C #C2C526 #DADC4C #E4E67F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c2c526;
/* rgb */ color: rgb(194, 197, 38);
/* oklch */ color: oklch(79.5% 0.165 110.8);
Tailwind
colors: {
  custom: {
    50: '#d9d670',
    500: '#c2c526',
    950: '#000000',
  },
}
SCSS
$custom: #c2c526;
$custom-light: #d9d670;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c526",
  "rgb": {
    "r": 194,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 61.132,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7955,
    "c": 0.1654,
    "h": 110.8
  },
  "luminance": 0.51542
}

Semantic roles & 50–950 ramp

primary
#C2C526
secondary
#27266A
accent
#3DEB41
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C2C526

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

Preview Lab → · Contrast checker → · Palette generator →

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