#C0C42B#C0C42B

#C0C42B is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.2% C 0.163 H 111.2°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#C0C42B
RGBrgb(192, 196, 43)
HSLhsl(62, 64%, 47%)
HSVhsv(62, 78%, 77%)
CMYKcmyk(2%, 0%, 78.1%, 23.1%)
CIE-LABlab(76.60, -18.53, 69.73)
CIE-LCHlch(76.60, 72.15, 104.89°)
OKLaboklab(79.19% -0.0587 0.1517)
OKLCHoklch(79.19% 0.163 111.2)
XYZxyz(41.9157, 50.8619, 9.8944)
Luminance0.5086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C42B #2F2BC4
analogous
#C47C2B #C0C42B #73C42B
triadic
#C0C42B #2BC0C4 #C42BC0
tetradic
#C0C42B #2BC47C #2F2BC4 #C42B73
square
#C0C42B #2BC47C #2F2BC4 #C42B73
split-complementary
#C0C42B #2B73C4 #7C2BC4
monochromatic
#5E6015 #8F9220 #C0C42B #D6D953 #E2E485

Accessibility & contrast

On white

1.88
#C0C42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#C0C42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C42B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C42B#FFFFFF#000000##000000
##C0C42B1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D5BF39
Tritanopia (blue-blind)
#CEB7A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c0c42b;
/* rgb */ color: rgb(192, 196, 43);
/* oklch */ color: oklch(79.2% 0.163 111.2);
Tailwind
colors: {
  custom: {
    50: '#d7d572',
    500: '#c0c42b',
    950: '#000000',
  },
}
SCSS
$custom: #c0c42b;
$custom-light: #d7d572;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c42b",
  "rgb": {
    "r": 192,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 61.569,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.79189,
    "c": 0.1627,
    "h": 111.2
  },
  "luminance": 0.50861
}

Semantic roles & 50–950 ramp

primary
#C0C42B
secondary
#2A296B
accent
#41E745
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C42B

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

Preview Lab → · Contrast checker → · Palette generator →

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