#8AA431#8AA431

#8AA431 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.7% C 0.142 H 121.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8AA431
RGBrgb(138, 164, 49)
HSLhsl(74, 54%, 42%)
HSVhsv(74, 70%, 64%)
CMYKcmyk(15.9%, 0%, 70.1%, 35.7%)
CIE-LABlab(63.49, -25.23, 53.86)
CIE-LCHlch(63.49, 59.48, 115.10°)
OKLaboklab(67.66% -0.0738 0.121)
OKLCHoklch(67.66% 0.142 121.4)
XYZxyz(24.3114, 32.1759, 7.8349)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA431 #4B31A4
analogous
#A48531 #8AA431 #51A431
triadic
#8AA431 #318AA4 #A4318A
tetradic
#8AA431 #31A485 #4B31A4 #A43151
square
#8AA431 #31A485 #4B31A4 #A43151
split-complementary
#8AA431 #3151A4 #8531A4
monochromatic
#3B4615 #627523 #8AA431 #ACC949 #C2D779

Accessibility & contrast

On white

2.82
#8AA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8AA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA431
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA431#FFFFFF#000000##000000
##8AA4311.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#919C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8aa431;
/* rgb */ color: rgb(138, 164, 49);
/* oklch */ color: oklch(67.7% 0.142 121.4);
Tailwind
colors: {
  custom: {
    50: '#afbf70',
    500: '#8aa431',
    950: '#000000',
  },
}
SCSS
$custom: #8aa431;
$custom-light: #afbf70;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa431",
  "rgb": {
    "r": 138,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 73.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67662,
    "c": 0.14169,
    "h": 121.4
  },
  "luminance": 0.32176
}

Semantic roles & 50–950 ramp

primary
#8AA431
secondary
#8372BF
accent
#4ADD6C
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA431

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

Preview Lab → · Contrast checker → · Palette generator →

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