#C0C82A#C0C82A

#C0C82A is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.1% C 0.167 H 112.7°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#C0C82A
RGBrgb(192, 200, 42)
HSLhsl(63, 65%, 47%)
HSVhsv(63, 79%, 78%)
CMYKcmyk(4%, 0%, 79%, 21.6%)
CIE-LABlab(77.69, -20.55, 70.98)
CIE-LCHlch(77.69, 73.90, 106.15°)
OKLaboklab(80.06% -0.0644 0.1542)
OKLCHoklch(80.06% 0.167 112.7)
XYZxyz(42.8119, 52.6832, 10.1037)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C82A #322AC8
analogous
#C8812A #C0C82A #71C82A
triadic
#C0C82A #2AC0C8 #C82AC0
tetradic
#C0C82A #2AC881 #322AC8 #C82A71
square
#C0C82A #2AC881 #322AC8 #C82A71
split-complementary
#C0C82A #2A71C8 #812AC8
monochromatic
#5F6315 #8F951F #C0C82A #D4DB54 #E1E687

Accessibility & contrast

On white

1.82
#C0C82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#C0C82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C82A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C82A#FFFFFF#000000##000000
##C0C82A1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D8C239
Tritanopia (blue-blind)
#CDBBAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c82a;
/* rgb */ color: rgb(192, 200, 42);
/* oklch */ color: oklch(80.1% 0.167 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7d872',
    500: '#c0c82a',
    950: '#000000',
  },
}
SCSS
$custom: #c0c82a;
$custom-light: #d7d872;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c82a",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 42
  },
  "hsl": {
    "h": 63.038,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.80062,
    "c": 0.16714,
    "h": 112.7
  },
  "luminance": 0.52682
}

Semantic roles & 50–950 ramp

primary
#C0C82A
secondary
#2C296D
accent
#40E848
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C82A

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

Preview Lab → · Contrast checker → · Palette generator →

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