#C0C528#C0C528

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

Color values

HEX#C0C528
RGBrgb(192, 197, 40)
HSLhsl(62, 66%, 46%)
HSVhsv(62, 80%, 77%)
CMYKcmyk(2.5%, 0%, 79.7%, 22.7%)
CIE-LABlab(76.86, -19.14, 70.80)
CIE-LCHlch(76.86, 73.34, 105.12°)
OKLaboklab(79.39% -0.0606 0.1535)
OKLCHoklch(79.39% 0.165 111.6)
XYZxyz(42.0890, 51.2933, 9.6905)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C528 #2D28C5
analogous
#C57C28 #C0C528 #72C528
triadic
#C0C528 #28C0C5 #C528C0
tetradic
#C0C528 #28C57C #2D28C5 #C52872
square
#C0C528 #28C57C #2D28C5 #C52872
split-complementary
#C0C528 #2872C5 #7C28C5
monochromatic
#5D5F13 #8E921E #C0C528 #D7DB4F #E2E682

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C528#FFFFFF#000000##000000
##C0C5281.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)
#D6C037
Tritanopia (blue-blind)
#CEB8A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c528;
/* rgb */ color: rgb(192, 197, 40);
/* oklch */ color: oklch(79.4% 0.165 111.6);
Tailwind
colors: {
  custom: {
    50: '#d7d671',
    500: '#c0c528',
    950: '#000000',
  },
}
SCSS
$custom: #c0c528;
$custom-light: #d7d671;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c528",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 61.911,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79393,
    "c": 0.16504,
    "h": 111.6
  },
  "luminance": 0.51292
}

Semantic roles & 50–950 ramp

primary
#C0C528
secondary
#29276A
accent
#3FE944
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C528

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

Preview Lab → · Contrast checker → · Palette generator →

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