#C0CB51#C0CB51

#C0CB51 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.90:1 contrast (WCAG AA passes).

Color values

HEX#C0CB51
RGBrgb(192, 203, 81)
HSLhsl(65, 54%, 56%)
HSVhsv(65, 60%, 80%)
CMYKcmyk(5.4%, 0%, 60.1%, 20.4%)
CIE-LABlab(78.76, -19.97, 57.94)
CIE-LCHlch(78.76, 61.28, 109.02°)
OKLaboklab(81% -0.0592 0.1329)
OKLCHoklch(81% 0.146 114)
XYZxyz(44.5804, 54.5132, 15.9566)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB51 #5C51CB
analogous
#CB9951 #C0CB51 #83CB51
triadic
#C0CB51 #51C0CB #CB51C0
tetradic
#C0CB51 #51CB99 #5C51CB #CB5183
square
#C0CB51 #51CB99 #5C51CB #CB5183
split-complementary
#C0CB51 #5183CB #9951CB
monochromatic
#757C25 #A1AC33 #C0CB51 #D1D980 #E2E7AF

Accessibility & contrast

On white

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

On black

11.90
#C0CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB51
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB51#FFFFFF#000000##000000
##C0CB511.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cb51;
/* rgb */ color: rgb(192, 203, 81);
/* oklch */ color: oklch(81.0% 0.145 114.0);
Tailwind
colors: {
  custom: {
    50: '#d6da87',
    500: '#c0cb51',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb51;
$custom-light: #d6da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb51",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 65.41,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81,
    "c": 0.1455,
    "h": 114
  },
  "luminance": 0.54512
}

Semantic roles & 50–950 ramp

primary
#C0CB51
secondary
#423C84
accent
#4ADD58
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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