#C0CC2B#C0CC2B

#C0CC2B is a light, vivid yellow. Relative luminance 0.546; OKLCH L 80.9% C 0.171 H 114.1°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C0CC2B
RGBrgb(192, 204, 43)
HSLhsl(64, 65%, 48%)
HSVhsv(64, 79%, 80%)
CMYKcmyk(5.9%, 0%, 78.9%, 20%)
CIE-LABlab(78.79, -22.47, 71.68)
CIE-LCHlch(78.79, 75.12, 107.41°)
OKLaboklab(80.95% -0.0696 0.1559)
OKLCHoklch(80.95% 0.171 114.1)
XYZxyz(43.7685, 54.5675, 10.5120)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC2B #372BCC
analogous
#CC872B #C0CC2B #6FCC2B
triadic
#C0CC2B #2BC0CC #CC2BC0
tetradic
#C0CC2B #2BCC87 #372BCC #CC2B6F
square
#C0CC2B #2BCC87 #372BCC #CC2B6F
split-complementary
#C0CC2B #2B6FCC #872BCC
monochromatic
#616716 #909920 #C0CC2B #D2DC58 #E0E78B

Accessibility & contrast

On white

1.76
#C0CC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#C0CC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC2B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC2B#FFFFFF#000000##000000
##C0CC2B1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#DBC43B
Tritanopia (blue-blind)
#CDC0AF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc2b;
/* rgb */ color: rgb(192, 204, 43);
/* oklch */ color: oklch(80.9% 0.171 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7db73',
    500: '#c0cc2b',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc2b;
$custom-light: #d7db73;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc2b",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 64.472,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80948,
    "c": 0.17076,
    "h": 114.1
  },
  "luminance": 0.54567
}

Semantic roles & 50–950 ramp

primary
#C0CC2B
secondary
#2F2A71
accent
#40E84C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0CC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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