#8AAA1B#8AAA1B

#8AAA1B is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 69.0% C 0.161 H 122.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8AAA1B
RGBrgb(138, 170, 27)
HSLhsl(73, 73%, 39%)
HSVhsv(73, 84%, 67%)
CMYKcmyk(18.8%, 0%, 84.1%, 33.3%)
CIE-LABlab(65.15, -29.18, 62.45)
CIE-LCHlch(65.15, 68.93, 115.04°)
OKLaboklab(68.96% -0.0863 0.1354)
OKLCHoklch(68.96% 0.161 122.5)
XYZxyz(25.0542, 34.2318, 6.3242)
Luminance0.3423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA1B #3B1BAA
analogous
#AA821B #8AAA1B #42AA1B
triadic
#8AAA1B #1B8AAA #AA1B8A
tetradic
#8AAA1B #1BAA82 #3B1BAA #AA1B42
square
#8AAA1B #1BAA82 #3B1BAA #AA1B42
split-complementary
#8AAA1B #1B42AA #821BAA
monochromatic
#34400A #5F7513 #8AAA1B #B4DC26 #C6E55B

Accessibility & contrast

On white

2.68
#8AAA1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#8AAA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAA1B
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAA1B#FFFFFF#000000##000000
##8AAA1B1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B09E2C
Tritanopia (blue-blind)
#92A191
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8aaa1b;
/* rgb */ color: rgb(138, 170, 27);
/* oklch */ color: oklch(69.0% 0.161 122.5);
Tailwind
colors: {
  custom: {
    50: '#b0c367',
    500: '#8aaa1b',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa1b;
$custom-light: #b0c367;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa1b",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 73.427,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68964,
    "c": 0.16063,
    "h": 122.5
  },
  "luminance": 0.34232
}

Semantic roles & 50–950 ramp

primary
#8AAA1B
secondary
#7158C9
accent
#39EF61
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AAA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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