#8AA41F#8AA41F

#8AA41F is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.5% C 0.152 H 120.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8AA41F
RGBrgb(138, 164, 31)
HSLhsl(72, 68%, 38%)
HSVhsv(72, 81%, 64%)
CMYKcmyk(15.9%, 0%, 81.1%, 35.7%)
CIE-LABlab(63.39, -26.14, 59.85)
CIE-LCHlch(63.39, 65.31, 113.59°)
OKLaboklab(67.55% -0.0778 0.1306)
OKLCHoklch(67.55% 0.152 120.8)
XYZxyz(24.0045, 32.0532, 6.2183)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA41F #391FA4
analogous
#A47B1F #8AA41F #48A41F
triadic
#8AA41F #1F8AA4 #A41F8A
tetradic
#8AA41F #1FA47B #391FA4 #A41F48
square
#8AA41F #1FA47B #391FA4 #A41F48
split-complementary
#8AA41F #1F48A4 #7B1FA4
monochromatic
#333D0C #5F7115 #8AA41F #B5D72A #C7E05D

Accessibility & contrast

On white

2.83
#8AA41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#8AA41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA41F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA41F#FFFFFF#000000##000000
##8AA41F1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aa41f;
/* rgb */ color: rgb(138, 164, 31);
/* oklch */ color: oklch(67.5% 0.152 120.8);
Tailwind
colors: {
  custom: {
    50: '#b0bf68',
    500: '#8aa41f',
    950: '#000000',
  },
}
SCSS
$custom: #8aa41f;
$custom-light: #b0bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa41f",
  "rgb": {
    "r": 138,
    "g": 164,
    "b": 31
  },
  "hsl": {
    "h": 71.729,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.15198,
    "h": 120.8
  },
  "luminance": 0.32053
}

Semantic roles & 50–950 ramp

primary
#8AA41F
secondary
#6F5AC5
accent
#3DEB5F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA41F

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

Preview Lab → · Contrast checker → · Palette generator →

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