#C0CB4F#C0CB4F

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

Color values

HEX#C0CB4F
RGBrgb(192, 203, 79)
HSLhsl(65, 54%, 55%)
HSVhsv(65, 61%, 80%)
CMYKcmyk(5.4%, 0%, 61.1%, 20.4%)
CIE-LABlab(78.74, -20.11, 58.77)
CIE-LCHlch(78.74, 62.11, 108.89°)
OKLaboklab(80.98% -0.0598 0.1344)
OKLCHoklch(80.98% 0.147 114)
XYZxyz(44.5065, 54.4836, 15.5675)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB4F #5A4FCB
analogous
#CB984F #C0CB4F #82CB4F
triadic
#C0CB4F #4FC0CB #CB4FC0
tetradic
#C0CB4F #4FCB98 #5A4FCB #CB4F82
square
#C0CB4F #4FCB98 #5A4FCB #CB4F82
split-complementary
#C0CB4F #4F82CB #984FCB
monochromatic
#737B24 #A0AA32 #C0CB4F #D1D97E #E2E7AD

Accessibility & contrast

On white

1.77
#C0CB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CB4F#FFFFFF#000000##000000
##C0CB4F1.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cb4f;
/* rgb */ color: rgb(192, 203, 79);
/* oklch */ color: oklch(81.0% 0.147 114.0);
Tailwind
colors: {
  custom: {
    50: '#d6da86',
    500: '#c0cb4f',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb4f;
$custom-light: #d6da86;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb4f",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 65.323,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80981,
    "c": 0.14712,
    "h": 114
  },
  "luminance": 0.54483
}

Semantic roles & 50–950 ramp

primary
#C0CB4F
secondary
#413B83
accent
#4ADE57
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0CB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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