#8AA61F#8AA61F

#8AA61F is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 68.0% C 0.154 H 121.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8AA61F
RGBrgb(138, 166, 31)
HSLhsl(72, 69%, 39%)
HSVhsv(72, 81%, 65%)
CMYKcmyk(16.9%, 0%, 81.3%, 34.9%)
CIE-LABlab(63.98, -27.11, 60.38)
CIE-LCHlch(63.98, 66.19, 114.18°)
OKLaboklab(68.03% -0.0804 0.1317)
OKLCHoklch(68.03% 0.154 121.4)
XYZxyz(24.3652, 32.7746, 6.3386)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA61F #3B1FA6
analogous
#A67E1F #8AA61F #47A61F
triadic
#8AA61F #1F8AA6 #A61F8A
tetradic
#8AA61F #1FA67E #3B1FA6 #A61F47
square
#8AA61F #1FA67E #3B1FA6 #A61F47
split-complementary
#8AA61F #1F47A6 #7E1FA6
monochromatic
#343F0C #5F7215 #8AA61F #B4D72B #C6E15E

Accessibility & contrast

On white

2.78
#8AA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#8AA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA61F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA61F#FFFFFF#000000##000000
##8AA61F1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#929D8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8aa61f;
/* rgb */ color: rgb(138, 166, 31);
/* oklch */ color: oklch(68.0% 0.154 121.4);
Tailwind
colors: {
  custom: {
    50: '#b0c068',
    500: '#8aa61f',
    950: '#000000',
  },
}
SCSS
$custom: #8aa61f;
$custom-light: #b0c068;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa61f",
  "rgb": {
    "r": 138,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 72.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68025,
    "c": 0.15431,
    "h": 121.4
  },
  "luminance": 0.32775
}

Semantic roles & 50–950 ramp

primary
#8AA61F
secondary
#715BC5
accent
#3CEB61
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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