#C0C52F#C0C52F

#C0C52F 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#C0C52F
RGBrgb(192, 197, 47)
HSLhsl(62, 61%, 48%)
HSVhsv(62, 76%, 77%)
CMYKcmyk(2.5%, 0%, 76.1%, 22.7%)
CIE-LABlab(76.89, -18.88, 68.80)
CIE-LCHlch(76.89, 71.34, 105.34°)
OKLaboklab(79.43% -0.0594 0.1505)
OKLCHoklch(79.43% 0.162 111.5)
XYZxyz(42.2190, 51.3453, 10.3754)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C52F #342FC5
analogous
#C57F2F #C0C52F #75C52F
triadic
#C0C52F #2FC0C5 #C52FC0
tetradic
#C0C52F #2FC57F #342FC5 #C52F75
square
#C0C52F #2FC57F #342FC5 #C52F75
split-complementary
#C0C52F #2F75C5 #7F2FC5
monochromatic
#606217 #909423 #C0C52F #D3D85A #E0E38B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C52F#FFFFFF#000000##000000
##C0C52F1.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)
#D5BC03
Deuteranopia (green-blind)
#D5C03C
Tritanopia (blue-blind)
#CEB9A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c52f;
/* rgb */ color: rgb(192, 197, 47);
/* oklch */ color: oklch(79.4% 0.162 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d674',
    500: '#c0c52f',
    950: '#000000',
  },
}
SCSS
$custom: #c0c52f;
$custom-light: #d7d674;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c52f",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 62,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79429,
    "c": 0.16175,
    "h": 111.5
  },
  "luminance": 0.51344
}

Semantic roles & 50–950 ramp

primary
#C0C52F
secondary
#2E2B6D
accent
#43E549
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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