#C0C82E#C0C82E

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

Color values

HEX#C0C82E
RGBrgb(192, 200, 46)
HSLhsl(63, 63%, 48%)
HSVhsv(63, 77%, 78%)
CMYKcmyk(4%, 0%, 77%, 21.6%)
CIE-LABlab(77.71, -20.40, 69.85)
CIE-LCHlch(77.71, 72.77, 106.28°)
OKLaboklab(80.08% -0.0637 0.1525)
OKLCHoklch(80.08% 0.165 112.7)
XYZxyz(42.8871, 52.7133, 10.4997)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C82E #362EC8
analogous
#C8832E #C0C82E #73C82E
triadic
#C0C82E #2EC0C8 #C82EC0
tetradic
#C0C82E #2EC883 #362EC8 #C82E73
square
#C0C82E #2EC883 #362EC8 #C82E73
split-complementary
#C0C82E #2E73C8 #832EC8
monochromatic
#606417 #909623 #C0C82E #D2D95A #E0E58C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C82E#FFFFFF#000000##000000
##C0C82E1.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)
#D7BE00
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#CDBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c82e;
/* rgb */ color: rgb(192, 200, 46);
/* oklch */ color: oklch(80.1% 0.165 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7d874',
    500: '#c0c82e',
    950: '#000000',
  },
}
SCSS
$custom: #c0c82e;
$custom-light: #d7d874;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c82e",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 63.117,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80082,
    "c": 0.16528,
    "h": 112.7
  },
  "luminance": 0.52712
}

Semantic roles & 50–950 ramp

primary
#C0C82E
secondary
#2F2B6F
accent
#42E64B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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