#81B41A#81B41A

#81B41A is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.8% C 0.177 H 127.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#81B41A
RGBrgb(129, 180, 26)
HSLhsl(80, 75%, 40%)
HSVhsv(80, 86%, 71%)
CMYKcmyk(28.3%, 0%, 85.6%, 29.4%)
CIE-LABlab(67.56, -37.45, 64.55)
CIE-LCHlch(67.56, 74.62, 120.12°)
OKLaboklab(70.78% -0.1083 0.1401)
OKLCHoklch(70.78% 0.177 127.7)
XYZxyz(25.5611, 37.3836, 6.8461)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81B41A #4D1AB4
analogous
#B49A1A #81B41A #34B41A
triadic
#81B41A #1A81B4 #B41A81
tetradic
#81B41A #1AB49A #4D1AB4 #B41A34
square
#81B41A #1AB49A #4D1AB4 #B41A34
split-complementary
#81B41A #1A34B4 #9A1AB4
monochromatic
#34490B #5B7F12 #81B41A #A4E02B #BBE860

Accessibility & contrast

On white

2.48
#81B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#81B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81B41A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81B41A#FFFFFF#000000##000000
##81B41A1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#86AB99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #81b41a;
/* rgb */ color: rgb(129, 180, 26);
/* oklch */ color: oklch(70.8% 0.177 127.7);
Tailwind
colors: {
  custom: {
    50: '#aaca68',
    500: '#81b41a',
    950: '#000000',
  },
}
SCSS
$custom: #81b41a;
$custom-light: #aaca68;
$custom-dark: #000000;
JSON
{
  "hex": "#81b41a",
  "rgb": {
    "r": 129,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 79.87,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70777,
    "c": 0.17707,
    "h": 127.7
  },
  "luminance": 0.37384
}

Semantic roles & 50–950 ramp

primary
#81B41A
secondary
#825DCC
accent
#36F174
background
#FAFCF6
surface
#F5F8EC
border
#CFD1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #81B41A

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

Preview Lab → · Contrast checker → · Palette generator →

#81B41A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva