#C0CB42#C0CB42

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

Color values

HEX#C0CB42
RGBrgb(192, 203, 66)
HSLhsl(65, 57%, 53%)
HSVhsv(65, 67%, 80%)
CMYKcmyk(5.4%, 0%, 67.5%, 20.4%)
CIE-LABlab(78.64, -20.93, 63.91)
CIE-LCHlch(78.64, 67.25, 108.13°)
OKLaboklab(80.87% -0.0634 0.1434)
OKLCHoklch(80.87% 0.157 113.8)
XYZxyz(44.0787, 54.3125, 13.3146)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB42 #4D42CB
analogous
#CB9242 #C0CB42 #7BCB42
triadic
#C0CB42 #42C0CB #CB42C0
tetradic
#C0CB42 #42CB92 #4D42CB #CB427B
square
#C0CB42 #42CB92 #4D42CB #CB427B
split-complementary
#C0CB42 #427BCB #9242CB
monochromatic
#6C7320 #99A32D #C0CB42 #D0D872 #E0E5A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CB42#FFFFFF#000000##000000
##C0CB421.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)
#DAC12D
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#CCBFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cb42;
/* rgb */ color: rgb(192, 203, 66);
/* oklch */ color: oklch(80.9% 0.157 113.8);
Tailwind
colors: {
  custom: {
    50: '#d6da7e',
    500: '#c0cb42',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb42;
$custom-light: #d6da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb42",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 64.818,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.8087,
    "c": 0.15675,
    "h": 113.8
  },
  "luminance": 0.54312
}

Semantic roles & 50–950 ramp

primary
#C0CB42
secondary
#3B357C
accent
#48E054
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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