#81A231#81A231

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

Color values

HEX#81A231
RGBrgb(129, 162, 49)
HSLhsl(78, 54%, 41%)
HSVhsv(78, 70%, 64%)
CMYKcmyk(20.4%, 0%, 69.8%, 36.5%)
CIE-LABlab(62.28, -27.97, 52.44)
CIE-LCHlch(62.28, 59.43, 118.08°)
OKLaboklab(66.53% -0.0808 0.1182)
OKLCHoklch(66.53% 0.143 124.4)
XYZxyz(22.5282, 30.7293, 7.6496)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81A231 #5231A2
analogous
#A28B31 #81A231 #49A231
triadic
#81A231 #3181A2 #A23181
tetradic
#81A231 #31A28B #5231A2 #A23149
square
#81A231 #31A28B #5231A2 #A23149
split-complementary
#81A231 #3149A2 #8B31A2
monochromatic
#364415 #5C7323 #81A231 #A3C848 #BAD677

Accessibility & contrast

On white

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

On black

7.15
#81A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81A231
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81A231#FFFFFF#000000##000000
##81A2311.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9820
Deuteranopia (green-blind)
#A7963A
Tritanopia (blue-blind)
#879A8B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #81a231;
/* rgb */ color: rgb(129, 162, 49);
/* oklch */ color: oklch(66.5% 0.143 124.4);
Tailwind
colors: {
  custom: {
    50: '#a9bd70',
    500: '#81a231',
    950: '#000000',
  },
}
SCSS
$custom: #81a231;
$custom-light: #a9bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#81a231",
  "rgb": {
    "r": 129,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 77.522,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.14317,
    "h": 124.4
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

primary
#81A231
secondary
#8771BE
accent
#4BDD76
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #81A231

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

Preview Lab → · Contrast checker → · Palette generator →

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