#C0C52E#C0C52E

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

Color values

HEX#C0C52E
RGBrgb(192, 197, 46)
HSLhsl(62, 62%, 48%)
HSVhsv(62, 77%, 77%)
CMYKcmyk(2.5%, 0%, 76.6%, 22.7%)
CIE-LABlab(76.88, -18.92, 69.10)
CIE-LCHlch(76.88, 71.64, 105.31°)
OKLaboklab(79.42% -0.0596 0.1509)
OKLCHoklch(79.42% 0.162 111.5)
XYZxyz(42.1991, 51.3373, 10.2704)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C52E #332EC5
analogous
#C57F2E #C0C52E #74C52E
triadic
#C0C52E #2EC0C5 #C52EC0
tetradic
#C0C52E #2EC57F #332EC5 #C52E74
square
#C0C52E #2EC57F #332EC5 #C52E74
split-complementary
#C0C52E #2E74C5 #7F2EC5
monochromatic
#5F6217 #909322 #C0C52E #D4D858 #E1E48A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C52E#FFFFFF#000000##000000
##C0C52E1.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)
#D5BC00
Deuteranopia (green-blind)
#D5C03B
Tritanopia (blue-blind)
#CEB9A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c52e;
/* rgb */ color: rgb(192, 197, 46);
/* oklch */ color: oklch(79.4% 0.162 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d674',
    500: '#c0c52e',
    950: '#000000',
  },
}
SCSS
$custom: #c0c52e;
$custom-light: #d7d674;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c52e",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 46
  },
  "hsl": {
    "h": 61.987,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.79423,
    "c": 0.16226,
    "h": 111.5
  },
  "luminance": 0.51336
}

Semantic roles & 50–950 ramp

primary
#C0C52E
secondary
#2D2B6C
accent
#43E548
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C52E

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

Preview Lab → · Contrast checker → · Palette generator →

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