#C0C858#C0C858

#C0C858 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.4% C 0.136 H 112.8°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#C0C858
RGBrgb(192, 200, 88)
HSLhsl(64, 50%, 56%)
HSVhsv(64, 56%, 78%)
CMYKcmyk(4%, 0%, 56%, 21.6%)
CIE-LABlab(78.00, -17.95, 54.01)
CIE-LCHlch(78.00, 56.92, 108.38°)
OKLaboklab(80.42% -0.0528 0.1254)
OKLCHoklch(80.42% 0.136 112.8)
XYZxyz(44.1549, 53.2204, 17.1772)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C858 #6058C8
analogous
#C89858 #C0C858 #88C858
triadic
#C0C858 #58C0C8 #C858C0
tetradic
#C0C858 #58C898 #6058C8 #C85888
square
#C0C858 #58C898 #6058C8 #C85888
split-complementary
#C0C858 #5888C8 #9858C8
monochromatic
#777D29 #A2AB38 #C0C858 #D1D786 #E3E6B4

Accessibility & contrast

On white

1.80
#C0C858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#C0C858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C858
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C858#FFFFFF#000000##000000
##C0C8581.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04C
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#CBBDB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c0c858;
/* rgb */ color: rgb(192, 200, 88);
/* oklch */ color: oklch(80.4% 0.136 112.8);
Tailwind
colors: {
  custom: {
    50: '#d5d88b',
    500: '#c0c858',
    950: '#000000',
  },
}
SCSS
$custom: #c0c858;
$custom-light: #d5d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c858",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 64.286,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80417,
    "c": 0.13607,
    "h": 112.8
  },
  "luminance": 0.5322
}

Semantic roles & 50–950 ramp

primary
#C0C858
secondary
#443F85
accent
#4EDA58
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0C858

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

Preview Lab → · Contrast checker → · Palette generator →

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