#C0C531#C0C531

#C0C531 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.4% C 0.161 H 111.5°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C0C531
RGBrgb(192, 197, 49)
HSLhsl(62, 60%, 48%)
HSVhsv(62, 75%, 77%)
CMYKcmyk(2.5%, 0%, 75.1%, 22.7%)
CIE-LABlab(76.90, -18.80, 68.18)
CIE-LCHlch(76.90, 70.73, 105.41°)
OKLaboklab(79.44% -0.059 0.1495)
OKLCHoklch(79.44% 0.161 111.5)
XYZxyz(42.2603, 51.3618, 10.5928)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C531 #3631C5
analogous
#C58031 #C0C531 #76C531
triadic
#C0C531 #31C0C5 #C531C0
tetradic
#C0C531 #31C580 #3631C5 #C53176
square
#C0C531 #31C580 #3631C5 #C53176
split-complementary
#C0C531 #3176C5 #8031C5
monochromatic
#606319 #909425 #C0C531 #D2D75D #E0E38E

Accessibility & contrast

On white

1.86
#C0C531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C0C531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C531
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C531#FFFFFF#000000##000000
##C0C5311.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC0B
Deuteranopia (green-blind)
#D5C03E
Tritanopia (blue-blind)
#CDB9A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c531;
/* rgb */ color: rgb(192, 197, 49);
/* oklch */ color: oklch(79.4% 0.161 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d675',
    500: '#c0c531',
    950: '#000000',
  },
}
SCSS
$custom: #c0c531;
$custom-light: #d7d675;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c531",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 62.027,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7944,
    "c": 0.16073,
    "h": 111.5
  },
  "luminance": 0.51361
}

Semantic roles & 50–950 ramp

primary
#C0C531
secondary
#2F2D6E
accent
#44E34A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C531

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

Preview Lab → · Contrast checker → · Palette generator →

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