#C0C148#C0C148

#C0C148 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.7% C 0.142 H 109.7°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#C0C148
RGBrgb(192, 193, 72)
HSLhsl(60, 49%, 52%)
HSVhsv(60, 63%, 76%)
CMYKcmyk(0.5%, 0%, 62.7%, 24.3%)
CIE-LABlab(75.96, -15.59, 58.73)
CIE-LCHlch(75.96, 60.77, 104.86°)
OKLaboklab(78.74% -0.0478 0.1334)
OKLCHoklch(78.74% 0.142 109.7)
XYZxyz(41.9792, 49.8154, 13.5336)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C148 #4948C1
analogous
#C18648 #C0C148 #84C148
triadic
#C0C148 #48C0C1 #C148C0
tetradic
#C0C148 #48C186 #4948C1 #C14884
square
#C0C148 #48C186 #4948C1 #C14884
split-complementary
#C0C148 #4884C1 #8648C1
monochromatic
#6A6B24 #979834 #C0C148 #D0D076 #DFE0A3

Accessibility & contrast

On white

1.92
#C0C148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#C0C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C148
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C148#FFFFFF#000000##000000
##C0C1481.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B939
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#CDB5A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c148;
/* rgb */ color: rgb(192, 193, 72);
/* oklch */ color: oklch(78.7% 0.142 109.7);
Tailwind
colors: {
  custom: {
    50: '#d6d381',
    500: '#c0c148',
    950: '#000000',
  },
}
SCSS
$custom: #c0c148;
$custom-light: #d6d381;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c148",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 60.496,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78735,
    "c": 0.14167,
    "h": 109.7
  },
  "luminance": 0.49814
}

Semantic roles & 50–950 ramp

primary
#C0C148
secondary
#9898CD
accent
#4FD950
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C0C148

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

Preview Lab → · Contrast checker → · Palette generator →

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