#C0CB40#C0CB40

#C0CB40 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.9% C 0.158 H 113.8°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C0CB40
RGBrgb(192, 203, 64)
HSLhsl(65, 57%, 52%)
HSVhsv(65, 68%, 80%)
CMYKcmyk(5.4%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.63, -21.04, 64.65)
CIE-LCHlch(78.63, 67.99, 108.03°)
OKLaboklab(80.86% -0.0639 0.1446)
OKLCHoklch(80.86% 0.158 113.8)
XYZxyz(44.0208, 54.2894, 13.0094)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB40 #4B40CB
analogous
#CB9040 #C0CB40 #7BCB40
triadic
#C0CB40 #40C0CB #CB40C0
tetradic
#C0CB40 #40CB90 #4B40CB #CB407B
square
#C0CB40 #40CB90 #4B40CB #CB407B
split-complementary
#C0CB40 #407BCB #9040CB
monochromatic
#6B721F #98A22C #C0CB40 #D0D870 #E0E5A0

Accessibility & contrast

On white

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

On black

11.86
#C0CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB40
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB40#FFFFFF#000000##000000
##C0CB401.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12A
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#CCBFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cb40;
/* rgb */ color: rgb(192, 203, 64);
/* oklch */ color: oklch(80.9% 0.158 113.8);
Tailwind
colors: {
  custom: {
    50: '#d6da7d',
    500: '#c0cb40',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb40;
$custom-light: #d6da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb40",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 64.748,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.15809,
    "h": 113.8
  },
  "luminance": 0.54289
}

Semantic roles & 50–950 ramp

primary
#C0CB40
secondary
#3A357B
accent
#47E053
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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