#C0C845#C0C845

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

Color values

HEX#C0C845
RGBrgb(192, 200, 69)
HSLhsl(64, 54%, 53%)
HSVhsv(64, 66%, 78%)
CMYKcmyk(4%, 0%, 65.5%, 21.6%)
CIE-LABlab(77.84, -19.27, 61.92)
CIE-LCHlch(77.84, 64.85, 107.29°)
OKLaboklab(80.24% -0.0584 0.1397)
OKLCHoklch(80.24% 0.151 112.7)
XYZxyz(43.4679, 52.9456, 13.5588)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C845 #4D45C8
analogous
#C88E45 #C0C845 #7EC845
triadic
#C0C845 #45C0C8 #C845C0
tetradic
#C0C845 #45C88E #4D45C8 #C8457E
square
#C0C845 #45C88E #4D45C8 #C8457E
split-complementary
#C0C845 #457EC8 #8E45C8
monochromatic
#6C7121 #99A02F #C0C845 #D0D674 #E0E4A3

Accessibility & contrast

On white

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

On black

11.59
#C0C845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C845
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C845#FFFFFF#000000##000000
##C0C8451.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#CCBCAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c0c845;
/* rgb */ color: rgb(192, 200, 69);
/* oklch */ color: oklch(80.2% 0.151 112.7);
Tailwind
colors: {
  custom: {
    50: '#d6d880',
    500: '#c0c845',
    950: '#000000',
  },
}
SCSS
$custom: #c0c845;
$custom-light: #d6d880;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c845",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 63.664,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80236,
    "c": 0.15139,
    "h": 112.7
  },
  "luminance": 0.52945
}

Semantic roles & 50–950 ramp

primary
#C0C845
secondary
#3B377A
accent
#4ADE53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0C845

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

Preview Lab → · Contrast checker → · Palette generator →

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