#C0CA52#C0CA52

#C0CA52 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.8% C 0.144 H 113.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#C0CA52
RGBrgb(192, 202, 82)
HSLhsl(65, 53%, 56%)
HSVhsv(65, 59%, 79%)
CMYKcmyk(5%, 0%, 59.4%, 20.8%)
CIE-LABlab(78.50, -19.40, 57.21)
CIE-LCHlch(78.50, 60.41, 108.73°)
OKLaboklab(80.79% -0.0575 0.1315)
OKLCHoklch(80.79% 0.144 113.6)
XYZxyz(44.3828, 54.0575, 16.0771)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA52 #5C52CA
analogous
#CA9852 #C0CA52 #84CA52
triadic
#C0CA52 #52C0CA #CA52C0
tetradic
#C0CA52 #52CA98 #5C52CA #CA5284
square
#C0CA52 #52CA98 #5C52CA #CA5284
split-complementary
#C0CA52 #5284CA #9852CA
monochromatic
#757C26 #A1AB34 #C0CA52 #D1D881 #E2E7B0

Accessibility & contrast

On white

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

On black

11.81
#C0CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA52
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA52#FFFFFF#000000##000000
##C0CA521.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#CCBFB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca52;
/* rgb */ color: rgb(192, 202, 82);
/* oklch */ color: oklch(80.8% 0.144 113.6);
Tailwind
colors: {
  custom: {
    50: '#d6da87',
    500: '#c0ca52',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca52;
$custom-light: #d6da87;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca52",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 65,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80791,
    "c": 0.14353,
    "h": 113.6
  },
  "luminance": 0.54057
}

Semantic roles & 50–950 ramp

primary
#C0CA52
secondary
#423C84
accent
#4BDD57
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C0CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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