#C0C131#C0C131

#C0C131 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.6% C 0.157 H 109.9°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C0C131
RGBrgb(192, 193, 49)
HSLhsl(60, 60%, 47%)
HSVhsv(60, 75%, 76%)
CMYKcmyk(0.5%, 0%, 74.6%, 24.3%)
CIE-LABlab(75.80, -16.80, 67.17)
CIE-LCHlch(75.80, 69.24, 104.04°)
OKLaboklab(78.57% -0.0534 0.1474)
OKLCHoklch(78.57% 0.157 109.9)
XYZxyz(41.3641, 49.5694, 10.2941)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C131 #3231C1
analogous
#C17A31 #C0C131 #78C131
triadic
#C0C131 #31C0C1 #C131C0
tetradic
#C0C131 #31C17A #3231C1 #C13178
square
#C0C131 #31C17A #3231C1 #C13178
split-complementary
#C0C131 #3178C1 #7A31C1
monochromatic
#5F5F18 #8F9025 #C0C131 #D4D55A #E1E28B

Accessibility & contrast

On white

1.92
#C0C131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#C0C131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C131
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C131#FFFFFF#000000##000000
##C0C1311.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90F
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#CEB5A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c131;
/* rgb */ color: rgb(192, 193, 49);
/* oklch */ color: oklch(78.6% 0.157 109.9);
Tailwind
colors: {
  custom: {
    50: '#d7d374',
    500: '#c0c131',
    950: '#000000',
  },
}
SCSS
$custom: #c0c131;
$custom-light: #d7d374;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c131",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 60.417,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78565,
    "c": 0.15675,
    "h": 109.9
  },
  "luminance": 0.49568
}

Semantic roles & 50–950 ramp

primary
#C0C131
secondary
#8382CC
accent
#45E346
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C0C131

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

Preview Lab → · Contrast checker → · Palette generator →

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