#81AB28#81AB28

#81AB28 is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.6% C 0.160 H 126.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#81AB28
RGBrgb(129, 171, 40)
HSLhsl(79, 62%, 41%)
HSVhsv(79, 77%, 67%)
CMYKcmyk(24.6%, 0%, 76.6%, 32.9%)
CIE-LABlab(64.92, -32.76, 58.29)
CIE-LCHlch(64.92, 66.86, 119.34°)
OKLaboklab(68.65% -0.0947 0.129)
OKLCHoklch(68.65% 0.16 126.3)
XYZxyz(23.9993, 33.9457, 7.2949)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AB28 #5228AB
analogous
#AB9428 #81AB28 #40AB28
triadic
#81AB28 #2881AB #AB2881
tetradic
#81AB28 #28AB94 #5228AB #AB2840
square
#81AB28 #28AB94 #5228AB #AB2840
split-complementary
#81AB28 #2840AB #9428AB
monochromatic
#364811 #5C791C #81AB28 #A3D23E #BADE70

Accessibility & contrast

On white

2.70
#81AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#81AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AB28
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AB28#FFFFFF#000000##000000
##81AB281.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F06
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#87A392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #81ab28;
/* rgb */ color: rgb(129, 171, 40);
/* oklch */ color: oklch(68.6% 0.160 126.3);
Tailwind
colors: {
  custom: {
    50: '#a9c46c',
    500: '#81ab28',
    950: '#000000',
  },
}
SCSS
$custom: #81ab28;
$custom-light: #a9c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#81ab28",
  "rgb": {
    "r": 129,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 79.237,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68648,
    "c": 0.16004,
    "h": 126.3
  },
  "luminance": 0.33946
}

Semantic roles & 50–950 ramp

primary
#81AB28
secondary
#876AC4
accent
#43E577
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #81AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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