#C0C050#C0C050

#C0C050 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.6% C 0.134 H 109.1°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#C0C050
RGBrgb(192, 192, 80)
HSLhsl(60, 47%, 53%)
HSVhsv(60, 58%, 75%)
CMYKcmyk(0%, 0%, 58.3%, 24.7%)
CIE-LABlab(75.75, -14.54, 55.07)
CIE-LCHlch(75.75, 56.96, 104.79°)
OKLaboklab(78.6% -0.0439 0.1267)
OKLCHoklch(78.6% 0.134 109.1)
XYZxyz(42.0370, 49.4861, 14.9252)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C050 #5050C0
analogous
#C08850 #C0C050 #88C050
triadic
#C0C050 #50C0C0 #C050C0
tetradic
#C0C050 #50C088 #5050C0 #C05088
square
#C0C050 #50C088 #5050C0 #C05088
split-complementary
#C0C050 #5088C0 #8850C0
monochromatic
#6E6E28 #9B9B38 #C0C050 #D0D07D #E0E0AA

Accessibility & contrast

On white

1.93
#C0C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#C0C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C050
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C050#FFFFFF#000000##000000
##C0C0501.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB944
Deuteranopia (green-blind)
#D0BD56
Tritanopia (blue-blind)
#CCB5A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c050;
/* rgb */ color: rgb(192, 192, 80);
/* oklch */ color: oklch(78.6% 0.134 109.1);
Tailwind
colors: {
  custom: {
    50: '#d6d285',
    500: '#c0c050',
    950: '#000000',
  },
}
SCSS
$custom: #c0c050;
$custom-light: #d6d285;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c050",
  "rgb": {
    "r": 192,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78595,
    "c": 0.13412,
    "h": 109.1
  },
  "luminance": 0.49485
}

Semantic roles & 50–950 ramp

primary
#C0C050
secondary
#9E9ECE
accent
#51D751
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C0C050

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

Preview Lab → · Contrast checker → · Palette generator →

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