#81AF27#81AF27

#81AF27 is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.6% C 0.165 H 127.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#81AF27
RGBrgb(129, 175, 39)
HSLhsl(80, 64%, 42%)
HSVhsv(80, 78%, 69%)
CMYKcmyk(26.3%, 0%, 77.7%, 31.4%)
CIE-LABlab(66.12, -34.66, 59.73)
CIE-LCHlch(66.12, 69.06, 120.12°)
OKLaboklab(69.62% -0.0999 0.1319)
OKLCHoklch(69.62% 0.165 127.2)
XYZxyz(24.7495, 35.4731, 7.4621)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF27 #5527AF
analogous
#AF9927 #81AF27 #3DAF27
triadic
#81AF27 #2781AF #AF2781
tetradic
#81AF27 #27AF99 #5527AF #AF273D
square
#81AF27 #27AF99 #5527AF #AF273D
split-complementary
#81AF27 #273DAF #9927AF
monochromatic
#374B11 #5C7D1C #81AF27 #A2D43F #BADF71

Accessibility & contrast

On white

2.59
#81AF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#81AF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AF27
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AF27#FFFFFF#000000##000000
##81AF271.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#86A796
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #81af27;
/* rgb */ color: rgb(129, 175, 39);
/* oklch */ color: oklch(69.6% 0.165 127.2);
Tailwind
colors: {
  custom: {
    50: '#aac76d',
    500: '#81af27',
    950: '#000000',
  },
}
SCSS
$custom: #81af27;
$custom-light: #aac76d;
$custom-dark: #000000;
JSON
{
  "hex": "#81af27",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 80.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69617,
    "c": 0.16549,
    "h": 127.2
  },
  "luminance": 0.35474
}

Semantic roles & 50–950 ramp

primary
#81AF27
secondary
#8A6BC6
accent
#41E779
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #81AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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