#81A42F#81A42F

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

Color values

HEX#81A42F
RGBrgb(129, 164, 47)
HSLhsl(78, 55%, 41%)
HSVhsv(78, 71%, 64%)
CMYKcmyk(21.3%, 0%, 71.3%, 35.7%)
CIE-LABlab(62.86, -29.06, 53.80)
CIE-LCHlch(62.86, 61.15, 118.38°)
OKLaboklab(67% -0.084 0.1207)
OKLCHoklch(67% 0.147 124.8)
XYZxyz(22.8420, 31.4230, 7.5506)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81A42F #522FA4
analogous
#A48D2F #81A42F #47A42F
triadic
#81A42F #2F81A4 #A42F81
tetradic
#81A42F #2FA48D #522FA4 #A42F47
square
#81A42F #2FA48D #522FA4 #A42F47
split-complementary
#81A42F #2F47A4 #8D2FA4
monochromatic
#364514 #5C7421 #81A42F #A3CA46 #BAD876

Accessibility & contrast

On white

2.88
#81A42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##81A42F#FFFFFF#000000##000000
##81A42F1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81a42f;
/* rgb */ color: rgb(129, 164, 47);
/* oklch */ color: oklch(67.0% 0.147 124.8);
Tailwind
colors: {
  custom: {
    50: '#a9bf6f',
    500: '#81a42f',
    950: '#000000',
  },
}
SCSS
$custom: #81a42f;
$custom-light: #a9bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#81a42f",
  "rgb": {
    "r": 129,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 77.949,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66996,
    "c": 0.14708,
    "h": 124.8
  },
  "luminance": 0.31423
}

Semantic roles & 50–950 ramp

primary
#81A42F
secondary
#876FC0
accent
#49DF76
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #81A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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