#8AA031#8AA031

#8AA031 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.7% C 0.137 H 120.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8AA031
RGBrgb(138, 160, 49)
HSLhsl(72, 53%, 41%)
HSVhsv(72, 69%, 63%)
CMYKcmyk(13.8%, 0%, 69.4%, 37.3%)
CIE-LABlab(62.31, -23.25, 52.67)
CIE-LCHlch(62.31, 57.57, 113.82°)
OKLaboklab(66.71% -0.0683 0.1185)
OKLCHoklch(66.71% 0.137 120)
XYZxyz(23.6068, 30.7667, 7.6001)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA031 #4731A0
analogous
#A07E31 #8AA031 #52A031
triadic
#8AA031 #318AA0 #A0318A
tetradic
#8AA031 #31A07E #4731A0 #A03152
square
#8AA031 #31A07E #4731A0 #A03152
split-complementary
#8AA031 #3152A0 #7E31A0
monochromatic
#394214 #627123 #8AA031 #AEC747 #C2D576

Accessibility & contrast

On white

2.94
#8AA031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8AA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA031
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA031#FFFFFF#000000##000000
##8AA0311.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9720
Deuteranopia (green-blind)
#A7973A
Tritanopia (blue-blind)
#92988A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8aa031;
/* rgb */ color: rgb(138, 160, 49);
/* oklch */ color: oklch(66.7% 0.137 120.0);
Tailwind
colors: {
  custom: {
    50: '#afbc70',
    500: '#8aa031',
    950: '#000000',
  },
}
SCSS
$custom: #8aa031;
$custom-light: #afbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa031",
  "rgb": {
    "r": 138,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 71.892,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66713,
    "c": 0.13675,
    "h": 120
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

primary
#8AA031
secondary
#7F70BD
accent
#4BDD68
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA031

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

Preview Lab → · Contrast checker → · Palette generator →

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