#C0CB45#C0CB45

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

Color values

HEX#C0CB45
RGBrgb(192, 203, 69)
HSLhsl(65, 56%, 53%)
HSVhsv(65, 66%, 80%)
CMYKcmyk(5.4%, 0%, 66%, 20.4%)
CIE-LABlab(78.66, -20.75, 62.77)
CIE-LCHlch(78.66, 66.11, 108.29°)
OKLaboklab(80.89% -0.0626 0.1414)
OKLCHoklch(80.89% 0.155 113.9)
XYZxyz(44.1695, 54.3488, 13.7927)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB45 #5045CB
analogous
#CB9345 #C0CB45 #7DCB45
triadic
#C0CB45 #45C0CB #CB45C0
tetradic
#C0CB45 #45CB93 #5045CB #CB457D
square
#C0CB45 #45CB93 #5045CB #CB457D
split-complementary
#C0CB45 #457DCB #9345CB
monochromatic
#6E7521 #9BA52E #C0CB45 #D0D875 #E0E6A5

Accessibility & contrast

On white

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

On black

11.87
#C0CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB45
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB45#FFFFFF#000000##000000
##C0CB451.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#CCBFB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cb45;
/* rgb */ color: rgb(192, 203, 69);
/* oklch */ color: oklch(80.9% 0.155 113.9);
Tailwind
colors: {
  custom: {
    50: '#d6da80',
    500: '#c0cb45',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb45;
$custom-light: #d6da80;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb45",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 64.925,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80894,
    "c": 0.15467,
    "h": 113.9
  },
  "luminance": 0.54348
}

Semantic roles & 50–950 ramp

primary
#C0CB45
secondary
#3C377E
accent
#48E055
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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