#C0C548#C0C548

#C0C548 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.6% C 0.146 H 111.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#C0C548
RGBrgb(192, 197, 72)
HSLhsl(62, 52%, 53%)
HSVhsv(62, 63%, 77%)
CMYKcmyk(2.5%, 0%, 63.5%, 22.7%)
CIE-LABlab(77.05, -17.59, 59.88)
CIE-LCHlch(77.05, 62.41, 106.37°)
OKLaboklab(79.61% -0.0534 0.1358)
OKLCHoklch(79.61% 0.146 111.5)
XYZxyz(42.8754, 51.6079, 13.8324)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C548 #4D48C5
analogous
#C58B48 #C0C548 #81C548
triadic
#C0C548 #48C0C5 #C548C0
tetradic
#C0C548 #48C58B #4D48C5 #C54881
square
#C0C548 #48C58B #4D48C5 #C54881
split-complementary
#C0C548 #4881C5 #8B48C5
monochromatic
#6C6F23 #999E32 #C0C548 #D0D476 #E0E2A5

Accessibility & contrast

On white

1.85
#C0C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#C0C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C548
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C548#FFFFFF#000000##000000
##C0C5481.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#CDB9AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c548;
/* rgb */ color: rgb(192, 197, 72);
/* oklch */ color: oklch(79.6% 0.146 111.5);
Tailwind
colors: {
  custom: {
    50: '#d6d681',
    500: '#c0c548',
    950: '#000000',
  },
}
SCSS
$custom: #c0c548;
$custom-light: #d6d681;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c548",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 62.4,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79605,
    "c": 0.14593,
    "h": 111.5
  },
  "luminance": 0.51607
}

Semantic roles & 50–950 ramp

primary
#C0C548
secondary
#3B3879
accent
#4CDB52
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C0C548

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

Preview Lab → · Contrast checker → · Palette generator →

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