#C0C532#C0C532

#C0C532 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.4% C 0.160 H 111.5°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C0C532
RGBrgb(192, 197, 50)
HSLhsl(62, 60%, 48%)
HSVhsv(62, 75%, 77%)
CMYKcmyk(2.5%, 0%, 74.6%, 22.7%)
CIE-LABlab(76.90, -18.76, 67.87)
CIE-LCHlch(76.90, 70.41, 105.45°)
OKLaboklab(79.44% -0.0588 0.149)
OKLCHoklch(79.44% 0.16 111.5)
XYZxyz(42.2816, 51.3704, 10.7052)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C532 #3732C5
analogous
#C58032 #C0C532 #76C532
triadic
#C0C532 #32C0C5 #C532C0
tetradic
#C0C532 #32C580 #3732C5 #C53276
square
#C0C532 #32C580 #3732C5 #C53276
split-complementary
#C0C532 #3276C5 #8032C5
monochromatic
#616319 #909426 #C0C532 #D2D65E #E0E38F

Accessibility & contrast

On white

1.86
#C0C532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C0C532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C532
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C532#FFFFFF#000000##000000
##C0C5321.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC0F
Deuteranopia (green-blind)
#D5C03E
Tritanopia (blue-blind)
#CDB9A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c532;
/* rgb */ color: rgb(192, 197, 50);
/* oklch */ color: oklch(79.4% 0.160 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d675',
    500: '#c0c532',
    950: '#000000',
  },
}
SCSS
$custom: #c0c532;
$custom-light: #d7d675;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c532",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 50
  },
  "hsl": {
    "h": 62.041,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79445,
    "c": 0.1602,
    "h": 111.5
  },
  "luminance": 0.51369
}

Semantic roles & 50–950 ramp

primary
#C0C532
secondary
#2F2D6E
accent
#45E34A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C532

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

Preview Lab → · Contrast checker → · Palette generator →

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