#C0CC34#C0CC34

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

Color values

HEX#C0CC34
RGBrgb(192, 204, 52)
HSLhsl(65, 60%, 50%)
HSVhsv(65, 75%, 80%)
CMYKcmyk(5.9%, 0%, 74.5%, 20%)
CIE-LABlab(78.83, -22.12, 69.02)
CIE-LCHlch(78.83, 72.48, 107.77°)
OKLaboklab(81% -0.068 0.1518)
OKLCHoklch(81% 0.166 114.1)
XYZxyz(43.9522, 54.6410, 11.4796)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC34 #4034CC
analogous
#CC8C34 #C0CC34 #74CC34
triadic
#C0CC34 #34C0CC #CC34C0
tetradic
#C0CC34 #34CC8C #4034CC #CC3474
square
#C0CC34 #34CC8C #4034CC #CC3474
split-complementary
#C0CC34 #3474CC #8C34CC
monochromatic
#646B1B #929C27 #C0CC34 #CFD865 #DEE596

Accessibility & contrast

On white

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

On black

11.93
#C0CC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC34
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC34#FFFFFF#000000##000000
##C0CC341.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cc34;
/* rgb */ color: rgb(192, 204, 52);
/* oklch */ color: oklch(81.0% 0.166 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7db77',
    500: '#c0cc34',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc34;
$custom-light: #d7db77;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc34",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 64.737,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80996,
    "c": 0.16634,
    "h": 114.1
  },
  "luminance": 0.5464
}

Semantic roles & 50–950 ramp

primary
#C0CC34
secondary
#353074
accent
#45E351
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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