#C0CB57#C0CB57

#C0CB57 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.1% C 0.140 H 114.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#C0CB57
RGBrgb(192, 203, 87)
HSLhsl(66, 53%, 57%)
HSVhsv(66, 57%, 80%)
CMYKcmyk(5.4%, 0%, 57.1%, 20.4%)
CIE-LABlab(78.81, -19.52, 55.37)
CIE-LCHlch(78.81, 58.71, 109.42°)
OKLaboklab(81.06% -0.0573 0.1282)
OKLCHoklch(81.06% 0.14 114.1)
XYZxyz(44.8154, 54.6072, 17.1944)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB57 #6257CB
analogous
#CB9C57 #C0CB57 #86CB57
triadic
#C0CB57 #57C0CB #CB57C0
tetradic
#C0CB57 #57CB9C #6257CB #CB5786
square
#C0CB57 #57CB9C #6257CB #CB5786
split-complementary
#C0CB57 #5786CB #9C57CB
monochromatic
#788028 #A3AF36 #C0CB57 #D2D986 #E3E8B4

Accessibility & contrast

On white

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

On black

11.92
#C0CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB57
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB57#FFFFFF#000000##000000
##C0CB571.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24B
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#CBC0B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cb57;
/* rgb */ color: rgb(192, 203, 87);
/* oklch */ color: oklch(81.1% 0.140 114.1);
Tailwind
colors: {
  custom: {
    50: '#d5da8a',
    500: '#c0cb57',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb57;
$custom-light: #d5da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb57",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 65.69,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81062,
    "c": 0.14043,
    "h": 114.1
  },
  "luminance": 0.54606
}

Semantic roles & 50–950 ramp

primary
#C0CB57
secondary
#453F88
accent
#4CDC59
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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