#C5C524#C5C524

#C5C524 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.166 H 109.6°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#C5C524
RGBrgb(197, 197, 36)
HSLhsl(60, 69%, 46%)
HSVhsv(60, 82%, 77%)
CMYKcmyk(0%, 0%, 81.7%, 22.7%)
CIE-LABlab(77.24, -17.13, 72.33)
CIE-LCHlch(77.24, 74.33, 103.33°)
OKLaboklab(79.79% -0.0556 0.1559)
OKLCHoklch(79.79% 0.166 109.6)
XYZxyz(43.3124, 51.9316, 9.4110)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C524 #2424C5
analogous
#C57424 #C5C524 #74C524
triadic
#C5C524 #24C5C5 #C524C5
tetradic
#C5C524 #24C574 #2424C5 #C52474
square
#C5C524 #24C574 #2424C5 #C52474
split-complementary
#C5C524 #2474C5 #7424C5
monochromatic
#5E5E11 #91911B #C5C524 #DEDE49 #E7E77C

Accessibility & contrast

On white

1.84
#C5C524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#C5C524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C524
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C524#FFFFFF#000000##000000
##C5C5241.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BC00
Deuteranopia (green-blind)
#D7C134
Tritanopia (blue-blind)
#D4B8A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c524;
/* rgb */ color: rgb(197, 197, 36);
/* oklch */ color: oklch(79.8% 0.166 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbd670',
    500: '#c5c524',
    950: '#000000',
  },
}
SCSS
$custom: #c5c524;
$custom-light: #dbd670;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c524",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.79793,
    "c": 0.1655,
    "h": 109.6
  },
  "luminance": 0.5193
}

Semantic roles & 50–950 ramp

primary
#C5C524
secondary
#242469
accent
#3CEC3C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C524

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

Preview Lab → · Contrast checker → · Palette generator →

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