#C0C02B#C0C02B

#C0C02B is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.3% C 0.159 H 109.6°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C0C02B
RGBrgb(192, 192, 43)
HSLhsl(60, 63%, 46%)
HSVhsv(60, 78%, 75%)
CMYKcmyk(0%, 0%, 77.6%, 24.7%)
CIE-LABlab(75.50, -16.54, 68.75)
CIE-LCHlch(75.50, 70.71, 103.52°)
OKLaboklab(78.31% -0.0532 0.1496)
OKLCHoklch(78.31% 0.159 109.6)
XYZxyz(41.0255, 49.0814, 9.5976)
Luminance0.4908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C02B #2B2BC0
analogous
#C0752B #C0C02B #75C02B
triadic
#C0C02B #2BC0C0 #C02BC0
tetradic
#C0C02B #2BC075 #2B2BC0 #C02B75
square
#C0C02B #2BC075 #2B2BC0 #C02B75
split-complementary
#C0C02B #2B75C0 #752BC0
monochromatic
#5C5C15 #8E8E20 #C0C02B #D8D850 #E3E382

Accessibility & contrast

On white

1.94
#C0C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#C0C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C02B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C02B#FFFFFF#000000##000000
##C0C02B1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D2BC38
Tritanopia (blue-blind)
#CEB3A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c0c02b;
/* rgb */ color: rgb(192, 192, 43);
/* oklch */ color: oklch(78.3% 0.159 109.6);
Tailwind
colors: {
  custom: {
    50: '#d7d272',
    500: '#c0c02b',
    950: '#000000',
  },
}
SCSS
$custom: #c0c02b;
$custom-light: #d7d272;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c02b",
  "rgb": {
    "r": 192,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78314,
    "c": 0.15881,
    "h": 109.6
  },
  "luminance": 0.4908
}

Semantic roles & 50–950 ramp

primary
#C0C02B
secondary
#7B7BCC
accent
#41E641
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C0C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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