#C0CC4F#C0CC4F

#C0CC4F is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.2% C 0.148 H 114.4°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#C0CC4F
RGBrgb(192, 204, 79)
HSLhsl(66, 55%, 55%)
HSVhsv(66, 61%, 80%)
CMYKcmyk(5.9%, 0%, 61.3%, 20%)
CIE-LABlab(79.02, -20.60, 59.07)
CIE-LCHlch(79.02, 62.55, 109.23°)
OKLaboklab(81.2% -0.0612 0.1351)
OKLCHoklch(81.2% 0.148 114.4)
XYZxyz(44.7434, 54.9575, 15.6464)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC4F #5B4FCC
analogous
#CC994F #C0CC4F #81CC4F
triadic
#C0CC4F #4FC0CC #CC4FC0
tetradic
#C0CC4F #4FCC99 #5B4FCC #CC4F81
square
#C0CC4F #4FCC99 #5B4FCC #CC4F81
split-complementary
#C0CC4F #4F81CC #994FCC
monochromatic
#747D24 #A0AC32 #C0CC4F #D1DA7E #E2E7AE

Accessibility & contrast

On white

1.75
#C0CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#C0CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC4F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC4F#FFFFFF#000000##000000
##C0CC4F1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#CCC1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cc4f;
/* rgb */ color: rgb(192, 204, 79);
/* oklch */ color: oklch(81.2% 0.148 114.4);
Tailwind
colors: {
  custom: {
    50: '#d6db86',
    500: '#c0cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc4f;
$custom-light: #d6db86;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc4f",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 65.76,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.812,
    "c": 0.14826,
    "h": 114.4
  },
  "luminance": 0.54957
}

Semantic roles & 50–950 ramp

primary
#C0CC4F
secondary
#423B84
accent
#49DE58
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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