#81A228#81A228

#81A228 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.5% C 0.149 H 123.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#81A228
RGBrgb(129, 162, 40)
HSLhsl(76, 60%, 40%)
HSVhsv(76, 75%, 64%)
CMYKcmyk(20.4%, 0%, 75.3%, 36.5%)
CIE-LABlab(62.22, -28.51, 55.72)
CIE-LCHlch(62.22, 62.59, 117.10°)
OKLaboklab(66.46% -0.0831 0.1236)
OKLCHoklch(66.46% 0.149 123.9)
XYZxyz(22.3568, 30.6608, 6.7474)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81A228 #4928A2
analogous
#A28628 #81A228 #44A228
triadic
#81A228 #2881A2 #A22881
tetradic
#81A228 #28A286 #4928A2 #A22844
square
#81A228 #28A286 #4928A2 #A22844
split-complementary
#81A228 #2844A2 #8628A2
monochromatic
#334010 #5A711C #81A228 #A6CE39 #BCDA6A

Accessibility & contrast

On white

2.94
#81A228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#81A228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81A228
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81A228#FFFFFF#000000##000000
##81A2281.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970D
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#879A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #81a228;
/* rgb */ color: rgb(129, 162, 40);
/* oklch */ color: oklch(66.5% 0.149 123.9);
Tailwind
colors: {
  custom: {
    50: '#a9bd6b',
    500: '#81a228',
    950: '#000000',
  },
}
SCSS
$custom: #81a228;
$custom-light: #a9bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#81a228",
  "rgb": {
    "r": 129,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 76.23,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66462,
    "c": 0.14894,
    "h": 123.9
  },
  "luminance": 0.30661
}

Semantic roles & 50–950 ramp

primary
#81A228
secondary
#7E65C1
accent
#44E46F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #81A228

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

Preview Lab → · Contrast checker → · Palette generator →

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