#81A71F#81A71F

#81A71F is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.6% C 0.160 H 124.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#81A71F
RGBrgb(129, 167, 31)
HSLhsl(77, 69%, 39%)
HSVhsv(77, 81%, 65%)
CMYKcmyk(22.8%, 0%, 81.4%, 34.5%)
CIE-LABlab(63.67, -31.31, 59.88)
CIE-LCHlch(63.67, 67.57, 117.60°)
OKLaboklab(67.63% -0.0914 0.1309)
OKLCHoklch(67.63% 0.16 124.9)
XYZxyz(23.1195, 32.4032, 6.3325)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81A71F #451FA7
analogous
#A7891F #81A71F #3DA71F
triadic
#81A71F #1F81A7 #A71F81
tetradic
#81A71F #1FA789 #451FA7 #A71F3D
square
#81A71F #1FA789 #451FA7 #A71F3D
split-complementary
#81A71F #1F3DA7 #891FA7
monochromatic
#31400C #597315 #81A71F #A8D82B #BDE15F

Accessibility & contrast

On white

2.81
#81A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#81A71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81A71F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81A71F#FFFFFF#000000##000000
##81A71F1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#879F8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #81a71f;
/* rgb */ color: rgb(129, 167, 31);
/* oklch */ color: oklch(67.6% 0.160 124.9);
Tailwind
colors: {
  custom: {
    50: '#aac168',
    500: '#81a71f',
    950: '#000000',
  },
}
SCSS
$custom: #81a71f;
$custom-light: #aac168;
$custom-dark: #000000;
JSON
{
  "hex": "#81a71f",
  "rgb": {
    "r": 129,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 76.765,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67625,
    "c": 0.15965,
    "h": 124.9
  },
  "luminance": 0.32403
}

Semantic roles & 50–950 ramp

primary
#81A71F
secondary
#7A5CC6
accent
#3CEC6D
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #81A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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