#C0CB39#C0CB39

#C0CB39 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#C0CB39
RGBrgb(192, 203, 57)
HSLhsl(65, 58%, 51%)
HSVhsv(65, 72%, 80%)
CMYKcmyk(5.4%, 0%, 71.9%, 20.4%)
CIE-LABlab(78.59, -21.40, 67.12)
CIE-LCHlch(78.59, 70.45, 107.68°)
OKLaboklab(80.81% -0.0655 0.1487)
OKLCHoklch(80.81% 0.162 113.8)
XYZxyz(43.8340, 54.2146, 12.0255)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB39 #4439CB
analogous
#CB8D39 #C0CB39 #77CB39
triadic
#C0CB39 #39C0CB #CB39C0
tetradic
#C0CB39 #39CB8D #4439CB #CB3977
square
#C0CB39 #39CB8D #4439CB #CB3977
split-complementary
#C0CB39 #3977CB #8D39CB
monochromatic
#676D1D #959D29 #C0CB39 #CFD869 #DFE49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CB39#FFFFFF#000000##000000
##C0CB391.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)
#DAC11D
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#CDBFAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0cb39;
/* rgb */ color: rgb(192, 203, 57);
/* oklch */ color: oklch(80.8% 0.162 113.8);
Tailwind
colors: {
  custom: {
    50: '#d7da79',
    500: '#c0cb39',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb39;
$custom-light: #d7da79;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb39",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 64.521,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80806,
    "c": 0.16246,
    "h": 113.8
  },
  "luminance": 0.54214
}

Semantic roles & 50–950 ramp

primary
#C0CB39
secondary
#373276
accent
#46E252
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CB39

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

Preview Lab → · Contrast checker → · Palette generator →

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