#C0C72B#C0C72B

#C0C72B is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.166 H 112.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#C0C72B
RGBrgb(192, 199, 43)
HSLhsl(63, 64%, 47%)
HSVhsv(63, 78%, 78%)
CMYKcmyk(3.5%, 0%, 78.4%, 22%)
CIE-LABlab(77.42, -20.02, 70.46)
CIE-LCHlch(77.42, 73.25, 105.86°)
OKLaboklab(79.85% -0.0629 0.1533)
OKLCHoklch(79.85% 0.166 112.3)
XYZxyz(42.5992, 52.2288, 10.1222)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C72B #322BC7
analogous
#C7802B #C0C72B #72C72B
triadic
#C0C72B #2BC0C7 #C72BC0
tetradic
#C0C72B #2BC780 #322BC7 #C72B72
square
#C0C72B #2BC780 #322BC7 #C72B72
split-complementary
#C0C72B #2B72C7 #802BC7
monochromatic
#5F6215 #8F9520 #C0C72B #D4DA55 #E1E587

Accessibility & contrast

On white

1.83
#C0C72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#C0C72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C72B
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C72B#FFFFFF#000000##000000
##C0C72B1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BD00
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#CDBAAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c0c72b;
/* rgb */ color: rgb(192, 199, 43);
/* oklch */ color: oklch(79.8% 0.166 112.3);
Tailwind
colors: {
  custom: {
    50: '#d7d773',
    500: '#c0c72b',
    950: '#000000',
  },
}
SCSS
$custom: #c0c72b;
$custom-light: #d7d773;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c72b",
  "rgb": {
    "r": 192,
    "g": 199,
    "b": 43
  },
  "hsl": {
    "h": 62.692,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79847,
    "c": 0.16569,
    "h": 112.3
  },
  "luminance": 0.52228
}

Semantic roles & 50–950 ramp

primary
#C0C72B
secondary
#2C296D
accent
#40E748
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C72B

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

Preview Lab → · Contrast checker → · Palette generator →

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