#C0CA48#C0CA48

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

Color values

HEX#C0CA48
RGBrgb(192, 202, 72)
HSLhsl(65, 55%, 54%)
HSVhsv(65, 64%, 79%)
CMYKcmyk(5%, 0%, 64.4%, 20.8%)
CIE-LABlab(78.41, -20.08, 61.32)
CIE-LCHlch(78.41, 64.52, 108.13°)
OKLaboklab(80.7% -0.0604 0.1388)
OKLCHoklch(80.7% 0.151 113.5)
XYZxyz(44.0296, 53.9163, 14.2171)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA48 #5248CA
analogous
#CA9348 #C0CA48 #7FCA48
triadic
#C0CA48 #48C0CA #CA48C0
tetradic
#C0CA48 #48CA93 #5248CA #CA487F
square
#C0CA48 #48CA93 #5248CA #CA487F
split-complementary
#C0CA48 #487FCA #9348CA
monochromatic
#6F7622 #9CA530 #C0CA48 #D0D877 #E1E5A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CA48#FFFFFF#000000##000000
##C0CA481.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)
#D8C137
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#CCBFAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca48;
/* rgb */ color: rgb(192, 202, 72);
/* oklch */ color: oklch(80.7% 0.151 113.5);
Tailwind
colors: {
  custom: {
    50: '#d6da81',
    500: '#c0ca48',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca48;
$custom-light: #d6da81;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca48",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 64.615,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80699,
    "c": 0.1514,
    "h": 113.5
  },
  "luminance": 0.53915
}

Semantic roles & 50–950 ramp

primary
#C0CA48
secondary
#3D387E
accent
#49DE55
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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