#C4C524#C4C524

#C4C524 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.7% C 0.166 H 110.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#C4C524
RGBrgb(196, 197, 36)
HSLhsl(60, 69%, 46%)
HSVhsv(60, 82%, 77%)
CMYKcmyk(0.5%, 0%, 81.7%, 22.7%)
CIE-LABlab(77.16, -17.56, 72.23)
CIE-LCHlch(77.16, 74.33, 103.66°)
OKLaboklab(79.71% -0.0567 0.1557)
OKLCHoklch(79.71% 0.166 110)
XYZxyz(43.0513, 51.7970, 9.3987)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C524 #2524C5
analogous
#C57624 #C4C524 #73C524
triadic
#C4C524 #24C4C5 #C524C4
tetradic
#C4C524 #24C576 #2524C5 #C52473
square
#C4C524 #24C576 #2524C5 #C52473
split-complementary
#C4C524 #2473C5 #7624C5
monochromatic
#5D5E11 #91911B #C4C524 #DDDE49 #E6E77C

Accessibility & contrast

On white

1.85
#C4C524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#C4C524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C524
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C524#FFFFFF#000000##000000
##C4C5241.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c524;
/* rgb */ color: rgb(196, 197, 36);
/* oklch */ color: oklch(79.7% 0.166 110.0);
Tailwind
colors: {
  custom: {
    50: '#dad670',
    500: '#c4c524',
    950: '#000000',
  },
}
SCSS
$custom: #c4c524;
$custom-light: #dad670;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c524",
  "rgb": {
    "r": 196,
    "g": 197,
    "b": 36
  },
  "hsl": {
    "h": 60.373,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.79709,
    "c": 0.16573,
    "h": 110
  },
  "luminance": 0.51796
}

Semantic roles & 50–950 ramp

primary
#C4C524
secondary
#252469
accent
#3CEC3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #C4C524

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

Preview Lab → · Contrast checker → · Palette generator →

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