#C5C71A#C5C71A

#C5C71A is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.2% C 0.171 H 110.4°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#C5C71A
RGBrgb(197, 199, 26)
HSLhsl(61, 77%, 44%)
HSVhsv(61, 87%, 78%)
CMYKcmyk(1%, 0%, 86.9%, 22%)
CIE-LABlab(77.75, -18.38, 74.95)
CIE-LCHlch(77.75, 77.17, 103.78°)
OKLaboklab(80.19% -0.0596 0.16)
OKLCHoklch(80.19% 0.171 110.4)
XYZxyz(43.6376, 52.7931, 8.8685)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C71A #1C1AC7
analogous
#C7731A #C5C71A #6EC71A
triadic
#C5C71A #1AC5C7 #C71AC5
tetradic
#C5C71A #1AC773 #1C1AC7 #C71A6E
square
#C5C71A #1AC773 #1C1AC7 #C71A6E
split-complementary
#C5C71A #1A6EC7 #731AC7
monochromatic
#5A5B0C #8F9113 #C5C71A #E3E539 #EBEC6F

Accessibility & contrast

On white

1.82
#C5C71A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#C5C71A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C71A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C71A#FFFFFF#000000##000000
##C5C71A1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D9C22F
Tritanopia (blue-blind)
#D4BAAA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c5c71a;
/* rgb */ color: rgb(197, 199, 26);
/* oklch */ color: oklch(80.2% 0.171 110.4);
Tailwind
colors: {
  custom: {
    50: '#dbd76d',
    500: '#c5c71a',
    950: '#000000',
  },
}
SCSS
$custom: #c5c71a;
$custom-light: #dbd76d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c71a",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 26
  },
  "hsl": {
    "h": 60.694,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.80193,
    "c": 0.17074,
    "h": 110.4
  },
  "luminance": 0.52792
}

Semantic roles & 50–950 ramp

primary
#C5C71A
secondary
#201F66
accent
#34F337
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C71A

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

Preview Lab → · Contrast checker → · Palette generator →

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