#C0CA45#C0CA45

#C0CA45 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.7% C 0.154 H 113.5°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#C0CA45
RGBrgb(192, 202, 69)
HSLhsl(65, 56%, 53%)
HSVhsv(65, 66%, 79%)
CMYKcmyk(5%, 0%, 65.8%, 20.8%)
CIE-LABlab(78.39, -20.26, 62.49)
CIE-LCHlch(78.39, 65.69, 107.96°)
OKLaboklab(80.67% -0.0612 0.1409)
OKLCHoklch(80.67% 0.154 113.5)
XYZxyz(43.9341, 53.8781, 13.7142)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA45 #4F45CA
analogous
#CA9145 #C0CA45 #7DCA45
triadic
#C0CA45 #45C0CA #CA45C0
tetradic
#C0CA45 #45CA91 #4F45CA #CA457D
square
#C0CA45 #45CA91 #4F45CA #CA457D
split-complementary
#C0CA45 #457DCA #9145CA
monochromatic
#6D7421 #9AA32F #C0CA45 #D0D875 #E0E5A4

Accessibility & contrast

On white

1.78
#C0CA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#C0CA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA45
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA45#FFFFFF#000000##000000
##C0CA451.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C132
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#CCBEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca45;
/* rgb */ color: rgb(192, 202, 69);
/* oklch */ color: oklch(80.7% 0.154 113.5);
Tailwind
colors: {
  custom: {
    50: '#d6da80',
    500: '#c0ca45',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca45;
$custom-light: #d6da80;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca45",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 64.511,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80674,
    "c": 0.15358,
    "h": 113.5
  },
  "luminance": 0.53877
}

Semantic roles & 50–950 ramp

primary
#C0CA45
secondary
#3C377D
accent
#49DF54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0CA45

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

Preview Lab → · Contrast checker → · Palette generator →

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