#81AF2C#81AF2C

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

Color values

HEX#81AF2C
RGBrgb(129, 175, 44)
HSLhsl(81, 60%, 43%)
HSVhsv(81, 75%, 69%)
CMYKcmyk(26.3%, 0%, 74.9%, 31.4%)
CIE-LABlab(66.14, -34.40, 58.11)
CIE-LCHlch(66.14, 67.53, 120.62°)
OKLaboklab(69.65% -0.0988 0.1293)
OKLCHoklch(69.65% 0.163 127.4)
XYZxyz(24.8379, 35.5084, 7.9276)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF2C #5A2CAF
analogous
#AF9B2C #81AF2C #3FAF2C
triadic
#81AF2C #2C81AF #AF2C81
tetradic
#81AF2C #2CAF9B #5A2CAF #AF2C3F
square
#81AF2C #2CAF9B #5A2CAF #AF2C3F
split-complementary
#81AF2C #2C3FAF #9B2CAF
monochromatic
#394D13 #5D7E20 #81AF2C #A1D147 #BADD78

Accessibility & contrast

On white

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

On black

8.10
#81AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AF2C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AF2C#FFFFFF#000000##000000
##81AF2C1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81af2c;
/* rgb */ color: rgb(129, 175, 44);
/* oklch */ color: oklch(69.6% 0.163 127.4);
Tailwind
colors: {
  custom: {
    50: '#aac76f',
    500: '#81af2c',
    950: '#000000',
  },
}
SCSS
$custom: #81af2c;
$custom-light: #aac76f;
$custom-dark: #000000;
JSON
{
  "hex": "#81af2c",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 81.069,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69648,
    "c": 0.16275,
    "h": 127.4
  },
  "luminance": 0.35509
}

Semantic roles & 50–950 ramp

primary
#81AF2C
secondary
#8F72C5
accent
#45E37C
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #81AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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