#C0C855#C0C855

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

Color values

HEX#C0C855
RGBrgb(192, 200, 85)
HSLhsl(64, 51%, 56%)
HSVhsv(64, 58%, 78%)
CMYKcmyk(4%, 0%, 57.5%, 21.6%)
CIE-LABlab(77.98, -18.18, 55.32)
CIE-LCHlch(77.98, 58.23, 108.19°)
OKLaboklab(80.38% -0.0537 0.1279)
OKLCHoklch(80.38% 0.139 112.8)
XYZxyz(44.0332, 53.1718, 16.5361)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C855 #5D55C8
analogous
#C89655 #C0C855 #86C855
triadic
#C0C855 #55C0C8 #C855C0
tetradic
#C0C855 #55C896 #5D55C8 #C85586
square
#C0C855 #55C896 #5D55C8 #C85586
split-complementary
#C0C855 #5586C8 #9655C8
monochromatic
#757B28 #A1A937 #C0C855 #D1D783 #E2E6B1

Accessibility & contrast

On white

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

On black

11.63
#C0C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C855
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C855#FFFFFF#000000##000000
##C0C8551.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF49
Deuteranopia (green-blind)
#D6C25C
Tritanopia (blue-blind)
#CCBDAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c0c855;
/* rgb */ color: rgb(192, 200, 85);
/* oklch */ color: oklch(80.4% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#d5d889',
    500: '#c0c855',
    950: '#000000',
  },
}
SCSS
$custom: #c0c855;
$custom-light: #d5d889;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c855",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 64.174,
    "s": 51.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80385,
    "c": 0.1387,
    "h": 112.8
  },
  "luminance": 0.53171
}

Semantic roles & 50–950 ramp

primary
#C0C855
secondary
#433E83
accent
#4DDB57
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0C855

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

Preview Lab → · Contrast checker → · Palette generator →

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