#C0C931#C0C931

#C0C931 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.3% C 0.165 H 113.0°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#C0C931
RGBrgb(192, 201, 49)
HSLhsl(64, 61%, 49%)
HSVhsv(64, 76%, 79%)
CMYKcmyk(4.5%, 0%, 75.6%, 21.2%)
CIE-LABlab(77.99, -20.77, 69.20)
CIE-LCHlch(77.99, 72.25, 106.71°)
OKLaboklab(80.32% -0.0645 0.1517)
OKLCHoklch(80.32% 0.165 113)
XYZxyz(43.1806, 53.2025, 10.8996)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C931 #3A31C9
analogous
#C98631 #C0C931 #74C931
triadic
#C0C931 #31C0C9 #C931C0
tetradic
#C0C931 #31C986 #3A31C9 #C93174
square
#C0C931 #31C986 #3A31C9 #C93174
split-complementary
#C0C931 #3174C9 #8631C9
monochromatic
#626719 #919825 #C0C931 #D1D85F #DFE490

Accessibility & contrast

On white

1.80
#C0C931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#C0C931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C931
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C931#FFFFFF#000000##000000
##C0C9311.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF07
Deuteranopia (green-blind)
#D8C23E
Tritanopia (blue-blind)
#CDBDAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c0c931;
/* rgb */ color: rgb(192, 201, 49);
/* oklch */ color: oklch(80.3% 0.165 113.0);
Tailwind
colors: {
  custom: {
    50: '#d7d975',
    500: '#c0c931',
    950: '#000000',
  },
}
SCSS
$custom: #c0c931;
$custom-light: #d7d975;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c931",
  "rgb": {
    "r": 192,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 63.553,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80318,
    "c": 0.1648,
    "h": 113
  },
  "luminance": 0.53202
}

Semantic roles & 50–950 ramp

primary
#C0C931
secondary
#312D71
accent
#44E44D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C931

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

Preview Lab → · Contrast checker → · Palette generator →

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