#8AA231#8AA231

#8AA231 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.2% C 0.139 H 120.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8AA231
RGBrgb(138, 162, 49)
HSLhsl(73, 54%, 41%)
HSVhsv(73, 70%, 64%)
CMYKcmyk(14.8%, 0%, 69.8%, 36.5%)
CIE-LABlab(62.90, -24.24, 53.27)
CIE-LCHlch(62.90, 58.52, 114.47°)
OKLaboklab(67.19% -0.0711 0.1197)
OKLCHoklch(67.19% 0.139 120.7)
XYZxyz(23.9563, 31.4657, 7.7166)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA231 #4931A2
analogous
#A28231 #8AA231 #52A231
triadic
#8AA231 #318AA2 #A2318A
tetradic
#8AA231 #31A282 #4931A2 #A23152
square
#8AA231 #31A282 #4931A2 #A23152
split-complementary
#8AA231 #3152A2 #8231A2
monochromatic
#3A4415 #627323 #8AA231 #ADC848 #C2D677

Accessibility & contrast

On white

2.88
#8AA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8AA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA231
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA231#FFFFFF#000000##000000
##8AA2311.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981F
Deuteranopia (green-blind)
#A9983A
Tritanopia (blue-blind)
#929A8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8aa231;
/* rgb */ color: rgb(138, 162, 49);
/* oklch */ color: oklch(67.2% 0.139 120.7);
Tailwind
colors: {
  custom: {
    50: '#afbd70',
    500: '#8aa231',
    950: '#000000',
  },
}
SCSS
$custom: #8aa231;
$custom-light: #afbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa231",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 72.743,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67187,
    "c": 0.13921,
    "h": 120.7
  },
  "luminance": 0.31466
}

Semantic roles & 50–950 ramp

primary
#8AA231
secondary
#8171BE
accent
#4BDD6A
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA231

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

Preview Lab → · Contrast checker → · Palette generator →

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