#C4C71A#C4C71A

#C4C71A is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.1% C 0.171 H 110.8°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#C4C71A
RGBrgb(196, 199, 26)
HSLhsl(61, 77%, 44%)
HSVhsv(61, 87%, 78%)
CMYKcmyk(1.5%, 0%, 86.9%, 22%)
CIE-LABlab(77.67, -18.81, 74.85)
CIE-LCHlch(77.67, 77.18, 104.11°)
OKLaboklab(80.11% -0.0608 0.1598)
OKLCHoklch(80.11% 0.171 110.8)
XYZxyz(43.3765, 52.6585, 8.8563)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C71A #1D1AC7
analogous
#C7731A #C4C71A #6EC71A
triadic
#C4C71A #1AC4C7 #C71AC4
tetradic
#C4C71A #1AC773 #1D1AC7 #C71A6E
square
#C4C71A #1AC773 #1D1AC7 #C71A6E
split-complementary
#C4C71A #1A6EC7 #731AC7
monochromatic
#595B0C #8F9113 #C4C71A #E2E539 #EAEC6F

Accessibility & contrast

On white

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

On black

11.53
#C4C71A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C71A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C71A#FFFFFF#000000##000000
##C4C71A1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4c71a;
/* rgb */ color: rgb(196, 199, 26);
/* oklch */ color: oklch(80.1% 0.171 110.8);
Tailwind
colors: {
  custom: {
    50: '#dad76d',
    500: '#c4c71a',
    950: '#000000',
  },
}
SCSS
$custom: #c4c71a;
$custom-light: #dad76d;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c71a",
  "rgb": {
    "r": 196,
    "g": 199,
    "b": 26
  },
  "hsl": {
    "h": 61.04,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.8011,
    "c": 0.17097,
    "h": 110.8
  },
  "luminance": 0.52657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C4C71A

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

Preview Lab → · Contrast checker → · Palette generator →

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