#C0CA40#C0CA40

#C0CA40 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.6% C 0.157 H 113.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C0CA40
RGBrgb(192, 202, 64)
HSLhsl(64, 57%, 52%)
HSVhsv(64, 68%, 79%)
CMYKcmyk(5%, 0%, 68.3%, 20.8%)
CIE-LABlab(78.36, -20.55, 64.37)
CIE-LCHlch(78.36, 67.57, 107.70°)
OKLaboklab(80.64% -0.0625 0.144)
OKLCHoklch(80.64% 0.157 113.5)
XYZxyz(43.7854, 53.8186, 12.9310)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA40 #4A40CA
analogous
#CA8F40 #C0CA40 #7BCA40
triadic
#C0CA40 #40C0CA #CA40C0
tetradic
#C0CA40 #40CA8F #4A40CA #CA407B
square
#C0CA40 #40CA8F #4A40CA #CA407B
split-complementary
#C0CA40 #407BCA #8F40CA
monochromatic
#6B701F #98A02C #C0CA40 #D0D770 #E0E5A0

Accessibility & contrast

On white

1.79
#C0CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C0CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA40
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA40#FFFFFF#000000##000000
##C0CA401.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C02A
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#CDBEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca40;
/* rgb */ color: rgb(192, 202, 64);
/* oklch */ color: oklch(80.6% 0.157 113.5);
Tailwind
colors: {
  custom: {
    50: '#d6da7d',
    500: '#c0ca40',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca40;
$custom-light: #d6da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca40",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 64.348,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80635,
    "c": 0.15701,
    "h": 113.5
  },
  "luminance": 0.53818
}

Semantic roles & 50–950 ramp

primary
#C0CA40
secondary
#3A357A
accent
#48E053
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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