#8AAB31#8AAB31

#8AAB31 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.3% C 0.150 H 123.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8AAB31
RGBrgb(138, 171, 49)
HSLhsl(76, 55%, 43%)
HSVhsv(76, 71%, 67%)
CMYKcmyk(19.3%, 0%, 71.3%, 32.9%)
CIE-LABlab(65.55, -28.63, 55.93)
CIE-LCHlch(65.55, 62.83, 117.11°)
OKLaboklab(69.33% -0.0832 0.1253)
OKLCHoklch(69.33% 0.15 123.6)
XYZxyz(25.5988, 34.7507, 8.2641)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAB31 #5231AB
analogous
#AB8F31 #8AAB31 #4DAB31
triadic
#8AAB31 #318AAB #AB318A
tetradic
#8AAB31 #31AB8F #5231AB #AB314D
square
#8AAB31 #31AB8F #5231AB #AB314D
split-complementary
#8AAB31 #314DAB #8F31AB
monochromatic
#3D4C16 #647B23 #8AAB31 #AACC4D #C1DA7D

Accessibility & contrast

On white

2.64
#8AAB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#8AAB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAB31
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAB31#FFFFFF#000000##000000
##8AAB311.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01C
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#91A293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8aab31;
/* rgb */ color: rgb(138, 171, 49);
/* oklch */ color: oklch(69.3% 0.150 123.6);
Tailwind
colors: {
  custom: {
    50: '#afc471',
    500: '#8aab31',
    950: '#000000',
  },
}
SCSS
$custom: #8aab31;
$custom-light: #afc471;
$custom-dark: #000000;
JSON
{
  "hex": "#8aab31",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 76.23,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69329,
    "c": 0.1504,
    "h": 123.6
  },
  "luminance": 0.34751
}

Semantic roles & 50–950 ramp

primary
#8AAB31
secondary
#8A75C2
accent
#49DF72
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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