#8AA81B#8AA81B

#8AA81B is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.5% C 0.158 H 121.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8AA81B
RGBrgb(138, 168, 27)
HSLhsl(73, 72%, 38%)
HSVhsv(73, 84%, 66%)
CMYKcmyk(17.9%, 0%, 83.9%, 34.1%)
CIE-LABlab(64.55, -28.22, 61.94)
CIE-LCHlch(64.55, 68.07, 114.49°)
OKLaboklab(68.49% -0.0837 0.1344)
OKLCHoklch(68.49% 0.158 121.9)
XYZxyz(24.6821, 33.4876, 6.2001)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA81B #391BA8
analogous
#A87F1B #8AA81B #43A81B
triadic
#8AA81B #1B8AA8 #A81B8A
tetradic
#8AA81B #1BA87F #391BA8 #A81B43
square
#8AA81B #1BA87F #391BA8 #A81B43
split-complementary
#8AA81B #1B43A8 #7F1BA8
monochromatic
#333F0A #5F7313 #8AA81B #B5DC24 #C7E459

Accessibility & contrast

On white

2.73
#8AA81B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8AA81B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA81B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA81B#FFFFFF#000000##000000
##8AA81B1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#AF9D2B
Tritanopia (blue-blind)
#929F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8aa81b;
/* rgb */ color: rgb(138, 168, 27);
/* oklch */ color: oklch(68.5% 0.158 121.9);
Tailwind
colors: {
  custom: {
    50: '#b0c167',
    500: '#8aa81b',
    950: '#000000',
  },
}
SCSS
$custom: #8aa81b;
$custom-light: #b0c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa81b",
  "rgb": {
    "r": 138,
    "g": 168,
    "b": 27
  },
  "hsl": {
    "h": 72.766,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68485,
    "c": 0.15831,
    "h": 121.9
  },
  "luminance": 0.33488
}

Semantic roles & 50–950 ramp

primary
#8AA81B
secondary
#6F57C8
accent
#39EF60
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA81B

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

Preview Lab → · Contrast checker → · Palette generator →

#8AA81B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva