#C0C839#C0C839

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

Color values

HEX#C0C839
RGBrgb(192, 200, 57)
HSLhsl(63, 57%, 50%)
HSVhsv(63, 72%, 78%)
CMYKcmyk(4%, 0%, 71.5%, 21.6%)
CIE-LABlab(77.76, -19.92, 66.33)
CIE-LCHlch(77.76, 69.26, 106.72°)
OKLaboklab(80.15% -0.0614 0.147)
OKLCHoklch(80.15% 0.159 112.7)
XYZxyz(43.1324, 52.8114, 11.7916)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C839 #4139C8
analogous
#C88939 #C0C839 #78C839
triadic
#C0C839 #39C0C8 #C839C0
tetradic
#C0C839 #39C889 #4139C8 #C83978
square
#C0C839 #39C889 #4139C8 #C83978
split-complementary
#C0C839 #3978C8 #8939C8
monochromatic
#65691D #93992B #C0C839 #CFD569 #DEE399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C839#FFFFFF#000000##000000
##C0C8391.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)
#D7BF1E
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#CDBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c839;
/* rgb */ color: rgb(192, 200, 57);
/* oklch */ color: oklch(80.1% 0.159 112.7);
Tailwind
colors: {
  custom: {
    50: '#d7d879',
    500: '#c0c839',
    950: '#000000',
  },
}
SCSS
$custom: #c0c839;
$custom-light: #d7d879;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c839",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 63.357,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80147,
    "c": 0.15931,
    "h": 112.7
  },
  "luminance": 0.5281
}

Semantic roles & 50–950 ramp

primary
#C0C839
secondary
#363273
accent
#48E050
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C839

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

Preview Lab → · Contrast checker → · Palette generator →

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