#C0C856#C0C856

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

Color values

HEX#C0C856
RGBrgb(192, 200, 86)
HSLhsl(64, 51%, 56%)
HSVhsv(64, 57%, 78%)
CMYKcmyk(4%, 0%, 57%, 21.6%)
CIE-LABlab(77.99, -18.11, 54.89)
CIE-LCHlch(77.99, 57.80, 108.26°)
OKLaboklab(80.4% -0.0534 0.1271)
OKLCHoklch(80.4% 0.138 112.8)
XYZxyz(44.0732, 53.1878, 16.7468)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C856 #5E56C8
analogous
#C89756 #C0C856 #87C856
triadic
#C0C856 #56C0C8 #C856C0
tetradic
#C0C856 #56C897 #5E56C8 #C85687
square
#C0C856 #56C897 #5E56C8 #C85687
split-complementary
#C0C856 #5687C8 #9756C8
monochromatic
#767B28 #A2AA37 #C0C856 #D1D784 #E2E6B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C856#FFFFFF#000000##000000
##C0C8561.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)
#D6BF4A
Deuteranopia (green-blind)
#D6C25D
Tritanopia (blue-blind)
#CCBDAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c0c856;
/* rgb */ color: rgb(192, 200, 86);
/* oklch */ color: oklch(80.4% 0.138 112.8);
Tailwind
colors: {
  custom: {
    50: '#d5d88a',
    500: '#c0c856',
    950: '#000000',
  },
}
SCSS
$custom: #c0c856;
$custom-light: #d5d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c856",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 64.211,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80396,
    "c": 0.13783,
    "h": 112.8
  },
  "luminance": 0.53187
}

Semantic roles & 50–950 ramp

primary
#C0C856
secondary
#433F84
accent
#4DDA57
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0C856

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

Preview Lab → · Contrast checker → · Palette generator →

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