#81B42C#81B42C

#81B42C is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 70.9% C 0.169 H 128.4°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#81B42C
RGBrgb(129, 180, 44)
HSLhsl(83, 61%, 44%)
HSVhsv(83, 76%, 71%)
CMYKcmyk(28.3%, 0%, 75.6%, 29.4%)
CIE-LABlab(67.64, -36.67, 59.56)
CIE-LCHlch(67.64, 69.94, 121.62°)
OKLaboklab(70.87% -0.105 0.1323)
OKLCHoklch(70.87% 0.169 128.4)
XYZxyz(25.8291, 37.4908, 8.2580)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81B42C #5F2CB4
analogous
#B4A32C #81B42C #3DB42C
triadic
#81B42C #2C81B4 #B42C81
tetradic
#81B42C #2CB4A3 #5F2CB4 #B42C3D
square
#81B42C #2CB4A3 #5F2CB4 #B42C3D
split-complementary
#81B42C #2C3DB4 #A32CB4
monochromatic
#3B5214 #5E8320 #81B42C #A0D34A #BADF7C

Accessibility & contrast

On white

2.47
#81B42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#81B42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81B42C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81B42C#FFFFFF#000000##000000
##81B42C1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70C
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#85AC9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #81b42c;
/* rgb */ color: rgb(129, 180, 44);
/* oklch */ color: oklch(70.9% 0.169 128.4);
Tailwind
colors: {
  custom: {
    50: '#aaca6f',
    500: '#81b42c',
    950: '#000000',
  },
}
SCSS
$custom: #81b42c;
$custom-light: #aaca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#81b42c",
  "rgb": {
    "r": 129,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 82.5,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70868,
    "c": 0.16894,
    "h": 128.4
  },
  "luminance": 0.37491
}

Semantic roles & 50–950 ramp

primary
#81B42C
secondary
#9475C7
accent
#44E480
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #81B42C

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

Preview Lab → · Contrast checker → · Palette generator →

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