#81B231#81B231

#81B231 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.164 H 128.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#81B231
RGBrgb(129, 178, 49)
HSLhsl(83, 57%, 45%)
HSVhsv(83, 72%, 70%)
CMYKcmyk(27.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(67.07, -35.48, 57.25)
CIE-LCHlch(67.07, 67.35, 121.78°)
OKLaboklab(70.41% -0.1014 0.1283)
OKLCHoklch(70.41% 0.164 128.3)
XYZxyz(25.5280, 36.7291, 8.6496)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81B231 #6231B2
analogous
#B2A331 #81B231 #40B231
triadic
#81B231 #3181B2 #B23181
tetradic
#81B231 #31B2A3 #6231B2 #B23140
square
#81B231 #31B2A3 #6231B2 #B23140
split-complementary
#81B231 #3140B2 #A331B2
monochromatic
#3B5217 #5E8224 #81B231 #9FCF51 #BADC81

Accessibility & contrast

On white

2.52
#81B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#81B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81B231
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81B231#FFFFFF#000000##000000
##81B2311.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51A
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#85AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #81b231;
/* rgb */ color: rgb(129, 178, 49);
/* oklch */ color: oklch(70.4% 0.164 128.3);
Tailwind
colors: {
  custom: {
    50: '#a9c972',
    500: '#81b231',
    950: '#000000',
  },
}
SCSS
$custom: #81b231;
$custom-light: #a9c972;
$custom-dark: #000000;
JSON
{
  "hex": "#81b231",
  "rgb": {
    "r": 129,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 82.791,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70414,
    "c": 0.16351,
    "h": 128.3
  },
  "luminance": 0.3673
}

Semantic roles & 50–950 ramp

primary
#81B231
secondary
#9679C5
accent
#48E082
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #81B231

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

Preview Lab → · Contrast checker → · Palette generator →

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