#C0C831#C0C831

#C0C831 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.1% C 0.164 H 112.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#C0C831
RGBrgb(192, 200, 49)
HSLhsl(63, 61%, 49%)
HSVhsv(63, 76%, 78%)
CMYKcmyk(4%, 0%, 75.5%, 21.6%)
CIE-LABlab(77.72, -20.28, 68.94)
CIE-LCHlch(77.72, 71.86, 106.39°)
OKLaboklab(80.1% -0.0631 0.1511)
OKLCHoklch(80.1% 0.164 112.7)
XYZxyz(42.9483, 52.7378, 10.8221)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C831 #3931C8
analogous
#C88531 #C0C831 #75C831
triadic
#C0C831 #31C0C8 #C831C0
tetradic
#C0C831 #31C885 #3931C8 #C83175
square
#C0C831 #31C885 #3931C8 #C83175
split-complementary
#C0C831 #3175C8 #8531C8
monochromatic
#626619 #919725 #C0C831 #D1D85F #DFE490

Accessibility & contrast

On white

1.82
#C0C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#C0C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C831
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C831#FFFFFF#000000##000000
##C0C8311.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE08
Deuteranopia (green-blind)
#D8C23E
Tritanopia (blue-blind)
#CDBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c831;
/* rgb */ color: rgb(192, 200, 49);
/* oklch */ color: oklch(80.1% 0.164 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7d875',
    500: '#c0c831',
    950: '#000000',
  },
}
SCSS
$custom: #c0c831;
$custom-light: #d7d875;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c831",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 63.179,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80098,
    "c": 0.16377,
    "h": 112.7
  },
  "luminance": 0.52737
}

Semantic roles & 50–950 ramp

primary
#C0C831
secondary
#312D70
accent
#44E44C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C831

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

Preview Lab → · Contrast checker → · Palette generator →

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