#C0C526#C0C526

#C0C526 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.4% C 0.166 H 111.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#C0C526
RGBrgb(192, 197, 38)
HSLhsl(62, 68%, 46%)
HSVhsv(62, 81%, 77%)
CMYKcmyk(2.5%, 0%, 80.7%, 22.7%)
CIE-LABlab(76.85, -19.20, 71.33)
CIE-LCHlch(76.85, 73.87, 105.07°)
OKLaboklab(79.38% -0.061 0.1543)
OKLCHoklch(79.38% 0.166 111.6)
XYZxyz(42.0558, 51.2800, 9.5160)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C526 #2B26C5
analogous
#C57A26 #C0C526 #70C526
triadic
#C0C526 #26C0C5 #C526C0
tetradic
#C0C526 #26C57A #2B26C5 #C52670
square
#C0C526 #26C57A #2B26C5 #C52670
split-complementary
#C0C526 #2670C5 #7A26C5
monochromatic
#5C5E12 #8E921C #C0C526 #D8DC4C #E3E67F

Accessibility & contrast

On white

1.87
#C0C526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#C0C526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C526
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C526#FFFFFF#000000##000000
##C0C5261.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0c526;
/* rgb */ color: rgb(192, 197, 38);
/* oklch */ color: oklch(79.4% 0.166 111.6);
Tailwind
colors: {
  custom: {
    50: '#d7d670',
    500: '#c0c526',
    950: '#000000',
  },
}
SCSS
$custom: #c0c526;
$custom-light: #d7d670;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c526",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 61.887,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79384,
    "c": 0.16589,
    "h": 111.6
  },
  "luminance": 0.51279
}

Semantic roles & 50–950 ramp

primary
#C0C526
secondary
#28266A
accent
#3DEB43
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C0C526

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

Preview Lab → · Contrast checker → · Palette generator →

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