#C0CA31#C0CA31

#C0CA31 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.5% C 0.166 H 113.4°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C0CA31
RGBrgb(192, 202, 49)
HSLhsl(64, 61%, 49%)
HSVhsv(64, 76%, 79%)
CMYKcmyk(5%, 0%, 75.7%, 20.8%)
CIE-LABlab(78.27, -21.27, 69.45)
CIE-LCHlch(78.27, 72.63, 107.03°)
OKLaboklab(80.54% -0.0659 0.1522)
OKLCHoklch(80.54% 0.166 113.4)
XYZxyz(43.4145, 53.6702, 10.9775)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA31 #3B31CA
analogous
#CA8831 #C0CA31 #73CA31
triadic
#C0CA31 #31C0CA #CA31C0
tetradic
#C0CA31 #31CA88 #3B31CA #CA3173
square
#C0CA31 #31CA88 #3B31CA #CA3173
split-complementary
#C0CA31 #3173CA #8831CA
monochromatic
#626719 #919925 #C0CA31 #D1D860 #DFE491

Accessibility & contrast

On white

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

On black

11.73
#C0CA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA31
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA31#FFFFFF#000000##000000
##C0CA311.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C006
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#CDBEAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca31;
/* rgb */ color: rgb(192, 202, 49);
/* oklch */ color: oklch(80.5% 0.166 113.4);
Tailwind
colors: {
  custom: {
    50: '#d7d976',
    500: '#c0ca31',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca31;
$custom-light: #d7d976;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca31",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 63.922,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80538,
    "c": 0.16583,
    "h": 113.4
  },
  "luminance": 0.53669
}

Semantic roles & 50–950 ramp

primary
#C0CA31
secondary
#322E72
accent
#44E44E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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