#C0CB52#C0CB52

#C0CB52 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.0% C 0.145 H 114.0°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C0CB52
RGBrgb(192, 203, 82)
HSLhsl(65, 54%, 56%)
HSVhsv(65, 60%, 80%)
CMYKcmyk(5.4%, 0%, 59.6%, 20.4%)
CIE-LABlab(78.77, -19.89, 57.51)
CIE-LCHlch(78.77, 60.86, 109.08°)
OKLaboklab(81.01% -0.0589 0.1322)
OKLCHoklch(81.01% 0.145 114)
XYZxyz(44.6182, 54.5283, 16.1556)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB52 #5D52CB
analogous
#CB9A52 #C0CB52 #83CB52
triadic
#C0CB52 #52C0CB #CB52C0
tetradic
#C0CB52 #52CB9A #5D52CB #CB5283
square
#C0CB52 #52CB9A #5D52CB #CB5283
split-complementary
#C0CB52 #5283CB #9A52CB
monochromatic
#757D26 #A1AC34 #C0CB52 #D1D981 #E2E7B0

Accessibility & contrast

On white

1.76
#C0CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#C0CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB52
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB52#FFFFFF#000000##000000
##C0CB521.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#CCC0B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cb52;
/* rgb */ color: rgb(192, 203, 82);
/* oklch */ color: oklch(81.0% 0.145 114.0);
Tailwind
colors: {
  custom: {
    50: '#d6da87',
    500: '#c0cb52',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb52;
$custom-light: #d6da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb52",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 65.455,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8101,
    "c": 0.14468,
    "h": 114
  },
  "luminance": 0.54528
}

Semantic roles & 50–950 ramp

primary
#C0CB52
secondary
#433C85
accent
#4BDD58
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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