#C0C530#C0C530

#C0C530 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#C0C530
RGBrgb(192, 197, 48)
HSLhsl(62, 61%, 48%)
HSVhsv(62, 76%, 77%)
CMYKcmyk(2.5%, 0%, 75.6%, 22.7%)
CIE-LABlab(76.89, -18.84, 68.49)
CIE-LCHlch(76.89, 71.04, 105.38°)
OKLaboklab(79.43% -0.0592 0.15)
OKLCHoklch(79.43% 0.161 111.5)
XYZxyz(42.2394, 51.3535, 10.4829)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C530 #3530C5
analogous
#C57F30 #C0C530 #76C530
triadic
#C0C530 #30C0C5 #C530C0
tetradic
#C0C530 #30C57F #3530C5 #C53076
square
#C0C530 #30C57F #3530C5 #C53076
split-complementary
#C0C530 #3076C5 #7F30C5
monochromatic
#606318 #909424 #C0C530 #D3D75B #E0E38C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0C530#FFFFFF#000000##000000
##C0C5301.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)
#D5BC07
Deuteranopia (green-blind)
#D5C03D
Tritanopia (blue-blind)
#CDB9A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c530;
/* rgb */ color: rgb(192, 197, 48);
/* oklch */ color: oklch(79.4% 0.161 111.5);
Tailwind
colors: {
  custom: {
    50: '#d7d674',
    500: '#c0c530',
    950: '#000000',
  },
}
SCSS
$custom: #c0c530;
$custom-light: #d7d674;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c530",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 48
  },
  "hsl": {
    "h": 62.013,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79434,
    "c": 0.16125,
    "h": 111.5
  },
  "luminance": 0.51352
}

Semantic roles & 50–950 ramp

primary
#C0C530
secondary
#2E2C6D
accent
#44E449
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C530

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

Preview Lab → · Contrast checker → · Palette generator →

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