#8AAA31#8AAA31

#8AAA31 is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 69.1% C 0.149 H 123.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8AAA31
RGBrgb(138, 170, 49)
HSLhsl(76, 55%, 43%)
HSVhsv(76, 71%, 67%)
CMYKcmyk(18.8%, 0%, 71.2%, 33.3%)
CIE-LABlab(65.26, -28.15, 55.64)
CIE-LCHlch(65.26, 62.35, 116.84°)
OKLaboklab(69.09% -0.0819 0.1247)
OKLCHoklch(69.09% 0.149 123.3)
XYZxyz(25.4106, 34.3743, 8.2013)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA31 #5131AA
analogous
#AA8D31 #8AAA31 #4DAA31
triadic
#8AAA31 #318AAA #AA318A
tetradic
#8AAA31 #31AA8D #5131AA #AA314D
square
#8AAA31 #31AA8D #5131AA #AA314D
split-complementary
#8AAA31 #314DAA #8D31AA
monochromatic
#3D4B16 #637A23 #8AAA31 #AACC4D #C1D97C

Accessibility & contrast

On white

2.67
#8AAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#8AAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAA31
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAA31#FFFFFF#000000##000000
##8AAA311.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1D
Deuteranopia (green-blind)
#B09E3B
Tritanopia (blue-blind)
#91A192
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8aaa31;
/* rgb */ color: rgb(138, 170, 49);
/* oklch */ color: oklch(69.1% 0.149 123.3);
Tailwind
colors: {
  custom: {
    50: '#afc371',
    500: '#8aaa31',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa31;
$custom-light: #afc371;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa31",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 75.868,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69091,
    "c": 0.14915,
    "h": 123.3
  },
  "luminance": 0.34374
}

Semantic roles & 50–950 ramp

primary
#8AAA31
secondary
#8975C2
accent
#49DF71
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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