#81B418#81B418

#81B418 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.8% C 0.178 H 127.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#81B418
RGBrgb(129, 180, 24)
HSLhsl(80, 76%, 40%)
HSVhsv(80, 87%, 71%)
CMYKcmyk(28.3%, 0%, 86.7%, 29.4%)
CIE-LABlab(67.56, -37.51, 64.98)
CIE-LCHlch(67.56, 75.03, 120.00°)
OKLaboklab(70.77% -0.1086 0.1407)
OKLCHoklch(70.77% 0.178 127.7)
XYZxyz(25.5395, 37.3750, 6.7325)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81B418 #4B18B4
analogous
#B49918 #81B418 #33B418
triadic
#81B418 #1881B4 #B41881
tetradic
#81B418 #18B499 #4B18B4 #B41833
square
#81B418 #18B499 #4B18B4 #B41833
split-complementary
#81B418 #1833B4 #9918B4
monochromatic
#34480A #5A7E11 #81B418 #A5E227 #BCE95D

Accessibility & contrast

On white

2.48
#81B418 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#81B418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81B418
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81B418#FFFFFF#000000##000000
##81B4181.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#86AB99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #81b418;
/* rgb */ color: rgb(129, 180, 24);
/* oklch */ color: oklch(70.8% 0.178 127.7);
Tailwind
colors: {
  custom: {
    50: '#aaca68',
    500: '#81b418',
    950: '#000000',
  },
}
SCSS
$custom: #81b418;
$custom-light: #aaca68;
$custom-dark: #000000;
JSON
{
  "hex": "#81b418",
  "rgb": {
    "r": 129,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 79.615,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.7077,
    "c": 0.17774,
    "h": 127.7
  },
  "luminance": 0.37376
}

Semantic roles & 50–950 ramp

primary
#81B418
secondary
#805BCD
accent
#35F373
background
#FAFCF6
surface
#F5F8EB
border
#CFD1C6
text
#111307
muted
#80827A

Preview Lab

Preview with #81B418

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

Preview Lab → · Contrast checker → · Palette generator →

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