#8AA81D#8AA81D

#8AA81D 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#8AA81D
RGBrgb(138, 168, 29)
HSLhsl(73, 71%, 39%)
HSVhsv(73, 83%, 66%)
CMYKcmyk(17.9%, 0%, 82.7%, 34.1%)
CIE-LABlab(64.56, -28.15, 61.44)
CIE-LCHlch(64.56, 67.58, 114.62°)
OKLaboklab(68.49% -0.0834 0.1336)
OKLCHoklch(68.49% 0.158 122)
XYZxyz(24.7061, 33.4972, 6.3262)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA81D #3B1DA8
analogous
#A8801D #8AA81D #44A81D
triadic
#8AA81D #1D8AA8 #A81D8A
tetradic
#8AA81D #1DA880 #3B1DA8 #A81D44
square
#8AA81D #1DA880 #3B1DA8 #A81D44
split-complementary
#8AA81D #1D44A8 #801DA8
monochromatic
#34400B #5F7414 #8AA81D #B4DA28 #C6E35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8aa81d;
/* rgb */ color: rgb(138, 168, 29);
/* oklch */ color: oklch(68.5% 0.158 122.0);
Tailwind
colors: {
  custom: {
    50: '#b0c168',
    500: '#8aa81d',
    950: '#000000',
  },
}
SCSS
$custom: #8aa81d;
$custom-light: #b0c168;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa81d",
  "rgb": {
    "r": 138,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 72.95,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68494,
    "c": 0.15751,
    "h": 122
  },
  "luminance": 0.33497
}

Semantic roles & 50–950 ramp

primary
#8AA81D
secondary
#715AC7
accent
#3AED61
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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