#C0C852#C0C852

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

Color values

HEX#C0C852
RGBrgb(192, 200, 82)
HSLhsl(64, 52%, 55%)
HSVhsv(64, 59%, 78%)
CMYKcmyk(4%, 0%, 59%, 21.6%)
CIE-LABlab(77.95, -18.41, 56.61)
CIE-LCHlch(77.95, 59.53, 108.01°)
OKLaboklab(80.35% -0.0547 0.1303)
OKLCHoklch(80.35% 0.141 112.8)
XYZxyz(43.9166, 53.1251, 15.9217)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C852 #5A52C8
analogous
#C89552 #C0C852 #85C852
triadic
#C0C852 #52C0C8 #C852C0
tetradic
#C0C852 #52C895 #5A52C8 #C85285
square
#C0C852 #52C895 #5A52C8 #C85285
split-complementary
#C0C852 #5285C8 #9552C8
monochromatic
#737927 #A0A835 #C0C852 #D1D780 #E2E6AF

Accessibility & contrast

On white

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

On black

11.62
#C0C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C852
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C852#FFFFFF#000000##000000
##C0C8521.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0c852;
/* rgb */ color: rgb(192, 200, 82);
/* oklch */ color: oklch(80.4% 0.141 112.8);
Tailwind
colors: {
  custom: {
    50: '#d6d887',
    500: '#c0c852',
    950: '#000000',
  },
}
SCSS
$custom: #c0c852;
$custom-light: #d6d887;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c852",
  "rgb": {
    "r": 192,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 64.068,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80354,
    "c": 0.14126,
    "h": 112.8
  },
  "luminance": 0.53124
}

Semantic roles & 50–950 ramp

primary
#C0C852
secondary
#413D82
accent
#4DDB56
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0C852

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

Preview Lab → · Contrast checker → · Palette generator →

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