#C4C528#C4C528

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

Color values

HEX#C4C528
RGBrgb(196, 197, 40)
HSLhsl(60, 66%, 46%)
HSVhsv(60, 80%, 77%)
CMYKcmyk(0.5%, 0%, 79.7%, 22.7%)
CIE-LABlab(77.17, -17.43, 71.20)
CIE-LCHlch(77.17, 73.31, 103.76°)
OKLaboklab(79.73% -0.0561 0.1542)
OKLCHoklch(79.73% 0.164 110)
XYZxyz(43.1159, 51.8228, 9.7387)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C528 #2928C5
analogous
#C57828 #C4C528 #76C528
triadic
#C4C528 #28C4C5 #C528C4
tetradic
#C4C528 #28C578 #2928C5 #C52876
square
#C4C528 #28C578 #2928C5 #C52876
split-complementary
#C4C528 #2876C5 #7828C5
monochromatic
#5F5F13 #91921E #C4C528 #DADB4F #E5E682

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C528#FFFFFF#000000##000000
##C4C5281.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)
#D7C137
Tritanopia (blue-blind)
#D2B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c4c528;
/* rgb */ color: rgb(196, 197, 40);
/* oklch */ color: oklch(79.7% 0.164 110.0);
Tailwind
colors: {
  custom: {
    50: '#dad671',
    500: '#c4c528',
    950: '#000000',
  },
}
SCSS
$custom: #c4c528;
$custom-light: #dad671;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c528",
  "rgb": {
    "r": 196,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 60.382,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79726,
    "c": 0.16409,
    "h": 110
  },
  "luminance": 0.51821
}

Semantic roles & 50–950 ramp

primary
#C4C528
secondary
#27276A
accent
#3FE940
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C528

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

Preview Lab → · Contrast checker → · Palette generator →

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