#8AA331#8AA331

#8AA331 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.4% C 0.140 H 121.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8AA331
RGBrgb(138, 163, 49)
HSLhsl(73, 54%, 42%)
HSVhsv(73, 70%, 64%)
CMYKcmyk(15.3%, 0%, 69.9%, 36.1%)
CIE-LABlab(63.19, -24.74, 53.56)
CIE-LCHlch(63.19, 59.00, 114.79°)
OKLaboklab(67.42% -0.0724 0.1203)
OKLCHoklch(67.42% 0.14 121.1)
XYZxyz(24.1332, 31.8194, 7.7755)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA331 #4A31A3
analogous
#A38331 #8AA331 #51A331
triadic
#8AA331 #318AA3 #A3318A
tetradic
#8AA331 #31A383 #4A31A3 #A33151
square
#8AA331 #31A383 #4A31A3 #A33151
split-complementary
#8AA331 #3151A3 #8331A3
monochromatic
#3A4515 #627423 #8AA331 #ACC849 #C2D678

Accessibility & contrast

On white

2.85
#8AA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8AA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA331
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA331#FFFFFF#000000##000000
##8AA3311.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#929B8C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8aa331;
/* rgb */ color: rgb(138, 163, 49);
/* oklch */ color: oklch(67.4% 0.140 121.1);
Tailwind
colors: {
  custom: {
    50: '#afbe70',
    500: '#8aa331',
    950: '#000000',
  },
}
SCSS
$custom: #8aa331;
$custom-light: #afbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa331",
  "rgb": {
    "r": 138,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 73.158,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67424,
    "c": 0.14046,
    "h": 121.1
  },
  "luminance": 0.31819
}

Semantic roles & 50–950 ramp

primary
#8AA331
secondary
#8271BF
accent
#4BDD6B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA331

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

Preview Lab → · Contrast checker → · Palette generator →

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