#C0C52D#C0C52D

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

Color values

HEX#C0C52D
RGBrgb(192, 197, 45)
HSLhsl(62, 63%, 47%)
HSVhsv(62, 77%, 77%)
CMYKcmyk(2.5%, 0%, 77.2%, 22.7%)
CIE-LABlab(76.88, -18.96, 69.40)
CIE-LCHlch(76.88, 71.94, 105.28°)
OKLaboklab(79.42% -0.0598 0.1514)
OKLCHoklch(79.42% 0.163 111.5)
XYZxyz(42.1796, 51.3295, 10.1678)
Luminance0.5133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C52D #322DC5
analogous
#C57E2D #C0C52D #74C52D
triadic
#C0C52D #2DC0C5 #C52DC0
tetradic
#C0C52D #2DC57E #322DC5 #C52D74
square
#C0C52D #2DC57E #322DC5 #C52D74
split-complementary
#C0C52D #2D74C5 #7E2DC5
monochromatic
#5F6116 #8F9322 #C0C52D #D4D957 #E1E488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C52D#FFFFFF#000000##000000
##C0C52D1.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: #c0c52d;
/* rgb */ color: rgb(192, 197, 45);
/* oklch */ color: oklch(79.4% 0.163 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d673',
    500: '#c0c52d',
    950: '#000000',
  },
}
SCSS
$custom: #c0c52d;
$custom-light: #d7d673;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c52d",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 45
  },
  "hsl": {
    "h": 61.974,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79418,
    "c": 0.16275,
    "h": 111.5
  },
  "luminance": 0.51328
}

Semantic roles & 50–950 ramp

primary
#C0C52D
secondary
#2C2A6C
accent
#42E647
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C52D

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

Preview Lab → · Contrast checker → · Palette generator →

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