#81B42E#81B42E

#81B42E is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 70.9% C 0.168 H 128.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#81B42E
RGBrgb(129, 180, 46)
HSLhsl(83, 59%, 44%)
HSVhsv(83, 74%, 71%)
CMYKcmyk(28.3%, 0%, 74.4%, 29.4%)
CIE-LABlab(67.66, -36.56, 58.89)
CIE-LCHlch(67.66, 69.31, 121.83°)
OKLaboklab(70.88% -0.1046 0.1312)
OKLCHoklch(70.88% 0.168 128.5)
XYZxyz(25.8676, 37.5063, 8.4608)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81B42E #612EB4
analogous
#B4A42E #81B42E #3EB42E
triadic
#81B42E #2E81B4 #B42E81
tetradic
#81B42E #2EB4A4 #612EB4 #B42E3E
square
#81B42E #2EB4A4 #612EB4 #B42E3E
split-complementary
#81B42E #2E3EB4 #A42EB4
monochromatic
#3B5315 #5E8322 #81B42E #9FD24E #BADE7E

Accessibility & contrast

On white

2.47
#81B42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#81B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81B42E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81B42E#FFFFFF#000000##000000
##81B42E1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA712
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#85AC9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #81b42e;
/* rgb */ color: rgb(129, 180, 46);
/* oklch */ color: oklch(70.9% 0.168 128.5);
Tailwind
colors: {
  custom: {
    50: '#aaca70',
    500: '#81b42e',
    950: '#000000',
  },
}
SCSS
$custom: #81b42e;
$custom-light: #aaca70;
$custom-dark: #000000;
JSON
{
  "hex": "#81b42e",
  "rgb": {
    "r": 129,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 82.836,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70881,
    "c": 0.16781,
    "h": 128.5
  },
  "luminance": 0.37507
}

Semantic roles & 50–950 ramp

primary
#81B42E
secondary
#9577C7
accent
#45E281
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #81B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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