#81A42A#81A42A

#81A42A is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.0% C 0.150 H 124.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#81A42A
RGBrgb(129, 164, 42)
HSLhsl(77, 59%, 40%)
HSVhsv(77, 74%, 64%)
CMYKcmyk(21.3%, 0%, 74.4%, 35.7%)
CIE-LABlab(62.83, -29.36, 55.61)
CIE-LCHlch(62.83, 62.88, 117.83°)
OKLaboklab(66.96% -0.0853 0.1237)
OKLCHoklch(66.96% 0.15 124.6)
XYZxyz(22.7468, 31.3850, 7.0496)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81A42A #4D2AA4
analogous
#A48A2A #81A42A #44A42A
triadic
#81A42A #2A81A4 #A42A81
tetradic
#81A42A #2AA48A #4D2AA4 #A42A44
square
#81A42A #2AA48A #4D2AA4 #A42A44
split-complementary
#81A42A #2A44A4 #8A2AA4
monochromatic
#344311 #5B731E #81A42A #A4CD3E #BBDA6E

Accessibility & contrast

On white

2.89
#81A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#81A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81A42A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81A42A#FFFFFF#000000##000000
##81A42A1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9911
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#879C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #81a42a;
/* rgb */ color: rgb(129, 164, 42);
/* oklch */ color: oklch(67.0% 0.150 124.6);
Tailwind
colors: {
  custom: {
    50: '#a9bf6d',
    500: '#81a42a',
    950: '#000000',
  },
}
SCSS
$custom: #81a42a;
$custom-light: #a9bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#81a42a",
  "rgb": {
    "r": 129,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 77.213,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.15024,
    "h": 124.6
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

primary
#81A42A
secondary
#8269C1
accent
#45E272
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #81A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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