#C0C841#C0C841

#C0C841 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.2% C 0.154 H 112.7°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#C0C841
RGBrgb(192, 200, 65)
HSLhsl(64, 55%, 52%)
HSVhsv(64, 68%, 78%)
CMYKcmyk(4%, 0%, 67.5%, 21.6%)
CIE-LABlab(77.81, -19.50, 63.45)
CIE-LCHlch(77.81, 66.38, 107.09°)
OKLaboklab(80.2% -0.0595 0.1422)
OKLCHoklch(80.2% 0.154 112.7)
XYZxyz(43.3479, 52.8976, 12.9268)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C841 #4941C8
analogous
#C88D41 #C0C841 #7CC841
triadic
#C0C841 #41C0C8 #C841C0
tetradic
#C0C841 #41C88D #4941C8 #C8417C
square
#C0C841 #41C88D #4941C8 #C8417C
split-complementary
#C0C841 #417CC8 #8D41C8
monochromatic
#6A6F20 #979E2E #C0C841 #D0D670 #DFE3A0

Accessibility & contrast

On white

1.81
#C0C841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#C0C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C841
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C841#FFFFFF#000000##000000
##C0C8411.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#CDBCAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c841;
/* rgb */ color: rgb(192, 200, 65);
/* oklch */ color: oklch(80.2% 0.154 112.7);
Tailwind
colors: {
  custom: {
    50: '#d6d87d',
    500: '#c0c841',
    950: '#000000',
  },
}
SCSS
$custom: #c0c841;
$custom-light: #d6d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c841",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 63.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80204,
    "c": 0.15419,
    "h": 112.7
  },
  "luminance": 0.52897
}

Semantic roles & 50–950 ramp

primary
#C0C841
secondary
#393578
accent
#49DE52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C841

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

Preview Lab → · Contrast checker → · Palette generator →

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