#C0CB3A#C0CB3A

#C0CB3A is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.8% C 0.162 H 113.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#C0CB3A
RGBrgb(192, 203, 58)
HSLhsl(65, 58%, 51%)
HSVhsv(65, 71%, 80%)
CMYKcmyk(5.4%, 0%, 71.4%, 20.4%)
CIE-LABlab(78.59, -21.35, 66.78)
CIE-LCHlch(78.59, 70.11, 107.73°)
OKLaboklab(80.81% -0.0653 0.1481)
OKLCHoklch(80.81% 0.162 113.8)
XYZxyz(43.8592, 54.2247, 12.1582)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB3A #453ACB
analogous
#CB8D3A #C0CB3A #77CB3A
triadic
#C0CB3A #3AC0CB #CB3AC0
tetradic
#C0CB3A #3ACB8D #453ACB #CB3A77
square
#C0CB3A #3ACB8D #453ACB #CB3A77
split-complementary
#C0CB3A #3A77CB #8D3ACB
monochromatic
#686E1D #959E2A #C0CB3A #CFD86A #DFE59B

Accessibility & contrast

On white

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

On black

11.84
#C0CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB3A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB3A#FFFFFF#000000##000000
##C0CB3A1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11F
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#CDBFAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0cb3a;
/* rgb */ color: rgb(192, 203, 58);
/* oklch */ color: oklch(80.8% 0.162 113.8);
Tailwind
colors: {
  custom: {
    50: '#d7da7a',
    500: '#c0cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb3a;
$custom-light: #d7da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb3a",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 64.552,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80813,
    "c": 0.16187,
    "h": 113.8
  },
  "luminance": 0.54224
}

Semantic roles & 50–950 ramp

primary
#C0CB3A
secondary
#373277
accent
#46E152
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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