#C0C152#C0C152

#C0C152 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.8% C 0.133 H 109.6°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#C0C152
RGBrgb(192, 193, 82)
HSLhsl(61, 47%, 54%)
HSVhsv(61, 58%, 76%)
CMYKcmyk(0.5%, 0%, 57.5%, 24.3%)
CIE-LABlab(76.04, -14.90, 54.50)
CIE-LCHlch(76.04, 56.50, 105.29°)
OKLaboklab(78.83% -0.0447 0.1258)
OKLCHoklch(78.83% 0.133 109.6)
XYZxyz(42.3324, 49.9567, 15.3937)
Luminance0.4996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C152 #5352C1
analogous
#C18B52 #C0C152 #89C152
triadic
#C0C152 #52C0C1 #C152C0
tetradic
#C0C152 #52C18B #5352C1 #C15289
square
#C0C152 #52C18B #5352C1 #C15289
split-complementary
#C0C152 #5289C1 #8B52C1
monochromatic
#707028 #9C9D38 #C0C152 #D0D17F #E1E1AC

Accessibility & contrast

On white

1.91
#C0C152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#C0C152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C152
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C152#FFFFFF#000000##000000
##C0C1521.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D0BD58
Tritanopia (blue-blind)
#CCB6A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c0c152;
/* rgb */ color: rgb(192, 193, 82);
/* oklch */ color: oklch(78.8% 0.133 109.6);
Tailwind
colors: {
  custom: {
    50: '#d5d387',
    500: '#c0c152',
    950: '#000000',
  },
}
SCSS
$custom: #c0c152;
$custom-light: #d5d387;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c152",
  "rgb": {
    "r": 192,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 60.541,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78832,
    "c": 0.13348,
    "h": 109.6
  },
  "luminance": 0.49956
}

Semantic roles & 50–950 ramp

primary
#C0C152
secondary
#A0A0CF
accent
#51D752
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C0C152

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

Preview Lab → · Contrast checker → · Palette generator →

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