#81B331#81B331

#81B331 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.7% C 0.165 H 128.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#81B331
RGBrgb(129, 179, 49)
HSLhsl(83, 57%, 45%)
HSVhsv(83, 73%, 70%)
CMYKcmyk(27.9%, 0%, 72.6%, 29.8%)
CIE-LABlab(67.37, -35.93, 57.55)
CIE-LCHlch(67.37, 67.85, 121.98°)
OKLaboklab(70.66% -0.1026 0.1289)
OKLCHoklch(70.66% 0.165 128.5)
XYZxyz(25.7277, 37.1284, 8.7161)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81B331 #6331B3
analogous
#B3A431 #81B331 #40B331
triadic
#81B331 #3181B3 #B33181
tetradic
#81B331 #31B3A4 #6331B3 #B33140
square
#81B331 #31B3A4 #6331B3 #B33140
split-complementary
#81B331 #3140B3 #A431B3
monochromatic
#3C5317 #5E8324 #81B331 #9FD052 #BADD82

Accessibility & contrast

On white

2.49
#81B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#81B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81B331
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81B331#FFFFFF#000000##000000
##81B3311.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA619
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#85AB9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #81b331;
/* rgb */ color: rgb(129, 179, 49);
/* oklch */ color: oklch(70.7% 0.165 128.5);
Tailwind
colors: {
  custom: {
    50: '#aaca72',
    500: '#81b331',
    950: '#000000',
  },
}
SCSS
$custom: #81b331;
$custom-light: #aaca72;
$custom-dark: #000000;
JSON
{
  "hex": "#81b331",
  "rgb": {
    "r": 129,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 83.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70657,
    "c": 0.16477,
    "h": 128.5
  },
  "luminance": 0.37129
}

Semantic roles & 50–950 ramp

primary
#81B331
secondary
#977AC6
accent
#48E082
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #81B331

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

Preview Lab → · Contrast checker → · Palette generator →

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