#81AC2E#81AC2E

#81AC2E is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 68.9% C 0.158 H 126.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#81AC2E
RGBrgb(129, 172, 46)
HSLhsl(80, 58%, 43%)
HSVhsv(80, 73%, 67%)
CMYKcmyk(25%, 0%, 73.3%, 32.5%)
CIE-LABlab(65.25, -32.90, 56.54)
CIE-LCHlch(65.25, 65.42, 120.19°)
OKLaboklab(68.93% -0.0946 0.1263)
OKLCHoklch(68.93% 0.158 126.8)
XYZxyz(24.2990, 34.3690, 7.9379)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AC2E #592EAC
analogous
#AC982E #81AC2E #42AC2E
triadic
#81AC2E #2E81AC #AC2E81
tetradic
#81AC2E #2EAC98 #592EAC #AC2E42
square
#81AC2E #2EAC98 #592EAC #AC2E42
split-complementary
#81AC2E #2E42AC #982EAC
monochromatic
#394B14 #5D7C21 #81AC2E #A1CE49 #BADB79

Accessibility & contrast

On white

2.67
#81AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#81AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AC2E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AC2E#FFFFFF#000000##000000
##81AC2E1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A016
Deuteranopia (green-blind)
#AF9E39
Tritanopia (blue-blind)
#86A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #81ac2e;
/* rgb */ color: rgb(129, 172, 46);
/* oklch */ color: oklch(68.9% 0.158 126.8);
Tailwind
colors: {
  custom: {
    50: '#a9c56f',
    500: '#81ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #81ac2e;
$custom-light: #a9c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#81ac2e",
  "rgb": {
    "r": 129,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 80.476,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68931,
    "c": 0.15781,
    "h": 126.8
  },
  "luminance": 0.34369
}

Semantic roles & 50–950 ramp

primary
#81AC2E
secondary
#8E72C3
accent
#47E17B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #81AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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