#C0C052#C0C052

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

Color values

HEX#C0C052
RGBrgb(192, 192, 82)
HSLhsl(60, 47%, 54%)
HSVhsv(60, 57%, 75%)
CMYKcmyk(0%, 0%, 57.3%, 24.7%)
CIE-LABlab(75.77, -14.39, 54.20)
CIE-LCHlch(75.77, 56.08, 104.87°)
OKLaboklab(78.61% -0.0433 0.1251)
OKLCHoklch(78.61% 0.132 109.1)
XYZxyz(42.1120, 49.5160, 15.3202)
Luminance0.4951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C052 #5252C0
analogous
#C08952 #C0C052 #89C052
triadic
#C0C052 #52C0C0 #C052C0
tetradic
#C0C052 #52C089 #5252C0 #C05289
square
#C0C052 #52C089 #5252C0 #C05289
split-complementary
#C0C052 #5289C0 #8952C0
monochromatic
#6F6F28 #9C9C39 #C0C052 #D0D07F #E1E1AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C052#FFFFFF#000000##000000
##C0C0521.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)
#CEB946
Deuteranopia (green-blind)
#D0BD58
Tritanopia (blue-blind)
#CCB5A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c052;
/* rgb */ color: rgb(192, 192, 82);
/* oklch */ color: oklch(78.6% 0.132 109.1);
Tailwind
colors: {
  custom: {
    50: '#d5d287',
    500: '#c0c052',
    950: '#000000',
  },
}
SCSS
$custom: #c0c052;
$custom-light: #d5d287;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c052",
  "rgb": {
    "r": 192,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78615,
    "c": 0.1324,
    "h": 109.1
  },
  "luminance": 0.49515
}

Semantic roles & 50–950 ramp

primary
#C0C052
secondary
#9F9FCE
accent
#52D652
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C0C052

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

Preview Lab → · Contrast checker → · Palette generator →

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