#8AA81C#8AA81C

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

Color values

HEX#8AA81C
RGBrgb(138, 168, 28)
HSLhsl(73, 71%, 38%)
HSVhsv(73, 83%, 66%)
CMYKcmyk(17.9%, 0%, 83.3%, 34.1%)
CIE-LABlab(64.56, -28.18, 61.69)
CIE-LCHlch(64.56, 67.83, 114.55°)
OKLaboklab(68.49% -0.0836 0.134)
OKLCHoklch(68.49% 0.158 122)
XYZxyz(24.6939, 33.4923, 6.2621)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA81C #3A1CA8
analogous
#A8801C #8AA81C #44A81C
triadic
#8AA81C #1C8AA8 #A81C8A
tetradic
#8AA81C #1CA880 #3A1CA8 #A81C44
square
#8AA81C #1CA880 #3A1CA8 #A81C44
split-complementary
#8AA81C #1C44A8 #801CA8
monochromatic
#343F0B #5F7413 #8AA81C #B4DB26 #C6E45B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA81C#FFFFFF#000000##000000
##8AA81C1.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)
#AF9D2C
Tritanopia (blue-blind)
#929F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8aa81c;
/* rgb */ color: rgb(138, 168, 28);
/* oklch */ color: oklch(68.5% 0.158 122.0);
Tailwind
colors: {
  custom: {
    50: '#b0c167',
    500: '#8aa81c',
    950: '#000000',
  },
}
SCSS
$custom: #8aa81c;
$custom-light: #b0c167;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa81c",
  "rgb": {
    "r": 138,
    "g": 168,
    "b": 28
  },
  "hsl": {
    "h": 72.857,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68489,
    "c": 0.15791,
    "h": 122
  },
  "luminance": 0.33492
}

Semantic roles & 50–950 ramp

primary
#8AA81C
secondary
#7058C7
accent
#3AEE60
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA81C

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

Preview Lab → · Contrast checker → · Palette generator →

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