#8AA61B#8AA61B

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

Color values

HEX#8AA61B
RGBrgb(138, 166, 27)
HSLhsl(72, 72%, 38%)
HSVhsv(72, 84%, 65%)
CMYKcmyk(16.9%, 0%, 83.7%, 34.9%)
CIE-LABlab(63.96, -27.25, 61.43)
CIE-LCHlch(63.96, 67.20, 113.93°)
OKLaboklab(68.01% -0.0811 0.1333)
OKLCHoklch(68.01% 0.156 121.3)
XYZxyz(24.3157, 32.7548, 6.0780)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA61B #371BA6
analogous
#A67C1B #8AA61B #45A61B
triadic
#8AA61B #1B8AA6 #A61B8A
tetradic
#8AA61B #1BA67C #371BA6 #A61B45
square
#8AA61B #1BA67C #371BA6 #A61B45
split-complementary
#8AA61B #1B45A6 #7C1BA6
monochromatic
#323D0A #5E7112 #8AA61B #B6DB24 #C8E458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA61B#FFFFFF#000000##000000
##8AA61B1.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)
#B19B00
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#929D8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8aa61b;
/* rgb */ color: rgb(138, 166, 27);
/* oklch */ color: oklch(68.0% 0.156 121.3);
Tailwind
colors: {
  custom: {
    50: '#b0c067',
    500: '#8aa61b',
    950: '#000000',
  },
}
SCSS
$custom: #8aa61b;
$custom-light: #b0c067;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa61b",
  "rgb": {
    "r": 138,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 72.086,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.68007,
    "c": 0.156,
    "h": 121.3
  },
  "luminance": 0.32755
}

Semantic roles & 50–950 ramp

primary
#8AA61B
secondary
#6D56C7
accent
#39EF5E
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA61B

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

Preview Lab → · Contrast checker → · Palette generator →

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