#C5C528#C5C528

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

Color values

HEX#C5C528
RGBrgb(197, 197, 40)
HSLhsl(60, 66%, 46%)
HSVhsv(60, 80%, 77%)
CMYKcmyk(0%, 0%, 79.7%, 22.7%)
CIE-LABlab(77.26, -17.01, 71.31)
CIE-LCHlch(77.26, 73.31, 103.42°)
OKLaboklab(79.81% -0.055 0.1544)
OKLCHoklch(79.81% 0.164 109.6)
XYZxyz(43.3769, 51.9574, 9.7509)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C528 #2828C5
analogous
#C57728 #C5C528 #77C528
triadic
#C5C528 #28C5C5 #C528C5
tetradic
#C5C528 #28C577 #2828C5 #C52877
square
#C5C528 #28C577 #2828C5 #C52877
split-complementary
#C5C528 #2877C5 #7728C5
monochromatic
#5F5F13 #92921E #C5C528 #DBDB4F #E6E682

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C528#FFFFFF#000000##000000
##C5C5281.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)
#D5BC00
Deuteranopia (green-blind)
#D7C137
Tritanopia (blue-blind)
#D3B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c528;
/* rgb */ color: rgb(197, 197, 40);
/* oklch */ color: oklch(79.8% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbd671',
    500: '#c5c528',
    950: '#000000',
  },
}
SCSS
$custom: #c5c528;
$custom-light: #dbd671;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c528",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7981,
    "c": 0.16387,
    "h": 109.6
  },
  "luminance": 0.51956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C528

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

Preview Lab → · Contrast checker → · Palette generator →

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