#C0C837#C0C837

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

Color values

HEX#C0C837
RGBrgb(192, 200, 55)
HSLhsl(63, 57%, 50%)
HSVhsv(63, 73%, 78%)
CMYKcmyk(4%, 0%, 72.5%, 21.6%)
CIE-LABlab(77.75, -20.02, 67.01)
CIE-LCHlch(77.75, 69.94, 106.63°)
OKLaboklab(80.13% -0.0619 0.1481)
OKLCHoklch(80.13% 0.16 112.7)
XYZxyz(43.0834, 52.7918, 11.5340)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C837 #3F37C8
analogous
#C88737 #C0C837 #78C837
triadic
#C0C837 #37C0C8 #C837C0
tetradic
#C0C837 #37C887 #3F37C8 #C83778
square
#C0C837 #37C887 #3F37C8 #C83778
split-complementary
#C0C837 #3778C8 #8737C8
monochromatic
#64681D #92982A #C0C837 #CFD567 #DEE297

Accessibility & contrast

On white

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

On black

11.56
#C0C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C837
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C837#FFFFFF#000000##000000
##C0C8371.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0c837;
/* rgb */ color: rgb(192, 200, 55);
/* oklch */ color: oklch(80.1% 0.160 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7d878',
    500: '#c0c837',
    950: '#000000',
  },
}
SCSS
$custom: #c0c837;
$custom-light: #d7d878;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c837",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 63.31,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.80134,
    "c": 0.16049,
    "h": 112.7
  },
  "luminance": 0.52791
}

Semantic roles & 50–950 ramp

primary
#C0C837
secondary
#353172
accent
#48E050
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C837

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

Preview Lab → · Contrast checker → · Palette generator →

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