#C0C523#C0C523

#C0C523 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.4% C 0.167 H 111.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#C0C523
RGBrgb(192, 197, 35)
HSLhsl(62, 70%, 45%)
HSVhsv(62, 82%, 77%)
CMYKcmyk(2.5%, 0%, 82.2%, 22.7%)
CIE-LABlab(76.84, -19.29, 72.08)
CIE-LCHlch(76.84, 74.61, 104.99°)
OKLaboklab(79.37% -0.0614 0.1554)
OKLCHoklch(79.37% 0.167 111.6)
XYZxyz(42.0094, 51.2615, 9.2713)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C523 #2823C5
analogous
#C57923 #C0C523 #6FC523
triadic
#C0C523 #23C0C5 #C523C0
tetradic
#C0C523 #23C579 #2823C5 #C5236F
square
#C0C523 #23C579 #2823C5 #C5236F
split-complementary
#C0C523 #236FC5 #7923C5
monochromatic
#5B5D11 #8D911A #C0C523 #DADE47 #E4E87B

Accessibility & contrast

On white

1.87
#C0C523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#C0C523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C523
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C523#FFFFFF#000000##000000
##C0C5231.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D6BF34
Tritanopia (blue-blind)
#CEB8A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c0c523;
/* rgb */ color: rgb(192, 197, 35);
/* oklch */ color: oklch(79.4% 0.167 111.6);
Tailwind
colors: {
  custom: {
    50: '#d7d66f',
    500: '#c0c523',
    950: '#000000',
  },
}
SCSS
$custom: #c0c523;
$custom-light: #d7d66f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c523",
  "rgb": {
    "r": 192,
    "g": 197,
    "b": 35
  },
  "hsl": {
    "h": 61.852,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.79372,
    "c": 0.16708,
    "h": 111.6
  },
  "luminance": 0.5126
}

Semantic roles & 50–950 ramp

primary
#C0C523
secondary
#262468
accent
#3BED41
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C0C523

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

Preview Lab → · Contrast checker → · Palette generator →

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