#C0CC2F#C0CC2F

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

Color values

HEX#C0CC2F
RGBrgb(192, 204, 47)
HSLhsl(65, 63%, 49%)
HSVhsv(65, 77%, 80%)
CMYKcmyk(5.9%, 0%, 77%, 20%)
CIE-LABlab(78.81, -22.32, 70.55)
CIE-LCHlch(78.81, 74.00, 107.56°)
OKLaboklab(80.97% -0.0689 0.1542)
OKLCHoklch(80.97% 0.169 114.1)
XYZxyz(43.8455, 54.5983, 10.9176)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC2F #3B2FCC
analogous
#CC8A2F #C0CC2F #72CC2F
triadic
#C0CC2F #2FC0CC #CC2FC0
tetradic
#C0CC2F #2FCC8A #3B2FCC #CC2F72
square
#C0CC2F #2FCC8A #3B2FCC #CC2F72
split-complementary
#C0CC2F #2F72CC #8A2FCC
monochromatic
#626918 #919A24 #C0CC2F #D1DA5E #DFE590

Accessibility & contrast

On white

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

On black

11.92
#C0CC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC2F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC2F#FFFFFF#000000##000000
##C0CC2F1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cc2f;
/* rgb */ color: rgb(192, 204, 47);
/* oklch */ color: oklch(81.0% 0.169 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7db75',
    500: '#c0cc2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc2f;
$custom-light: #d7db75;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc2f",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 47
  },
  "hsl": {
    "h": 64.586,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80968,
    "c": 0.1689,
    "h": 114.1
  },
  "luminance": 0.54597
}

Semantic roles & 50–950 ramp

primary
#C0CC2F
secondary
#322D72
accent
#42E64F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0CC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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