#C0CB5F#C0CB5F

#C0CB5F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.2% C 0.133 H 114.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#C0CB5F
RGBrgb(192, 203, 95)
HSLhsl(66, 51%, 58%)
HSVhsv(66, 53%, 80%)
CMYKcmyk(5.4%, 0%, 53.2%, 20.4%)
CIE-LABlab(78.89, -18.87, 51.83)
CIE-LCHlch(78.89, 55.15, 110.00°)
OKLaboklab(81.15% -0.0546 0.1215)
OKLCHoklch(81.15% 0.133 114.2)
XYZxyz(45.1606, 54.7453, 19.0121)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB5F #6A5FCB
analogous
#CBA05F #C0CB5F #8ACB5F
triadic
#C0CB5F #5FC0CB #CB5FC0
tetradic
#C0CB5F #5FCBA0 #6A5FCB #CB5F8A
square
#C0CB5F #5FCBA0 #6A5FCB #CB5F8A
split-complementary
#C0CB5F #5F8ACB #A05FCB
monochromatic
#7B852B #A6B33A #C0CB5F #D2DA8D #E4E9BB

Accessibility & contrast

On white

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

On black

11.95
#C0CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB5F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB5F#FFFFFF#000000##000000
##C0CB5F1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C254
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#CBC1B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cb5f;
/* rgb */ color: rgb(192, 203, 95);
/* oklch */ color: oklch(81.2% 0.133 114.2);
Tailwind
colors: {
  custom: {
    50: '#d5da8f',
    500: '#c0cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb5f;
$custom-light: #d5da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb5f",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 66.111,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81151,
    "c": 0.13319,
    "h": 114.2
  },
  "luminance": 0.54745
}

Semantic roles & 50–950 ramp

primary
#C0CB5F
secondary
#4A428C
accent
#4DDA5C
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #C0CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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