#81B338#81B338

#81B338 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.7% C 0.160 H 129.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#81B338
RGBrgb(129, 179, 56)
HSLhsl(84, 52%, 46%)
HSVhsv(84, 69%, 70%)
CMYKcmyk(27.9%, 0%, 68.7%, 29.8%)
CIE-LABlab(67.42, -35.47, 54.95)
CIE-LCHlch(67.42, 65.40, 122.84°)
OKLaboklab(70.71% -0.1008 0.1245)
OKLCHoklch(70.71% 0.16 129)
XYZxyz(25.8871, 37.1922, 9.5555)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81B338 #6A38B3
analogous
#B3A738 #81B338 #44B338
triadic
#81B338 #3881B3 #B33881
tetradic
#81B338 #38B3A7 #6A38B3 #B33844
square
#81B338 #38B3A7 #6A38B3 #B33844
split-complementary
#81B338 #3844B3 #A738B3
monochromatic
#3E561B #5F8429 #81B338 #9FCC5C #BADB8B

Accessibility & contrast

On white

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

On black

8.44
#81B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81B338
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81B338#FFFFFF#000000##000000
##81B3381.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81b338;
/* rgb */ color: rgb(129, 179, 56);
/* oklch */ color: oklch(70.7% 0.160 129.0);
Tailwind
colors: {
  custom: {
    50: '#a9ca75',
    500: '#81b338',
    950: '#000000',
  },
}
SCSS
$custom: #81b338;
$custom-light: #a9ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#81b338",
  "rgb": {
    "r": 129,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 84.39,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70711,
    "c": 0.16017,
    "h": 129
  },
  "luminance": 0.37193
}

Semantic roles & 50–950 ramp

primary
#81B338
secondary
#9D82C5
accent
#4CDC86
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #81B338

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

Preview Lab → · Contrast checker → · Palette generator →

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