#C0C529#C0C529

#C0C529 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#C0C529
RGBrgb(192, 197, 41)
HSLhsl(62, 66%, 47%)
HSVhsv(62, 79%, 77%)
CMYKcmyk(2.5%, 0%, 79.2%, 22.7%)
CIE-LABlab(76.86, -19.10, 70.53)
CIE-LCHlch(76.86, 73.07, 105.15°)
OKLaboklab(79.4% -0.0605 0.1531)
OKLCHoklch(79.4% 0.165 111.6)
XYZxyz(42.1062, 51.3002, 9.7813)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C529 #2E29C5
analogous
#C57C29 #C0C529 #72C529
triadic
#C0C529 #29C0C5 #C529C0
tetradic
#C0C529 #29C57C #2E29C5 #C52972
square
#C0C529 #29C57C #2E29C5 #C52972
split-complementary
#C0C529 #2972C5 #7C29C5
monochromatic
#5D6014 #8F921E #C0C529 #D6DB51 #E2E583

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c0c529;
/* rgb */ color: rgb(192, 197, 41);
/* oklch */ color: oklch(79.4% 0.165 111.6);
Tailwind
colors: {
  custom: {
    50: '#d7d671',
    500: '#c0c529',
    950: '#000000',
  },
}
SCSS
$custom: #c0c529;
$custom-light: #d7d671;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c529",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 41
  },
  "hsl": {
    "h": 61.923,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.79398,
    "c": 0.16461,
    "h": 111.6
  },
  "luminance": 0.51299
}

Semantic roles & 50–950 ramp

primary
#C0C529
secondary
#2A286B
accent
#3FE845
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C529

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

Preview Lab → · Contrast checker → · Palette generator →

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