#8AAA28#8AAA28

#8AAA28 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 69.0% C 0.155 H 122.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8AAA28
RGBrgb(138, 170, 40)
HSLhsl(75, 62%, 41%)
HSVhsv(75, 76%, 67%)
CMYKcmyk(18.8%, 0%, 76.5%, 33.3%)
CIE-LABlab(65.20, -28.64, 58.76)
CIE-LCHlch(65.20, 65.37, 115.99°)
OKLaboklab(69.03% -0.084 0.1298)
OKLCHoklch(69.03% 0.155 122.9)
XYZxyz(25.2393, 34.3058, 7.2991)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAA28 #4828AA
analogous
#AA8928 #8AAA28 #49AA28
triadic
#8AAA28 #288AAA #AA288A
tetradic
#8AAA28 #28AA89 #4828AA #AA2849
square
#8AAA28 #28AA89 #4828AA #AA2849
split-complementary
#8AAA28 #2849AA #8928AA
monochromatic
#3A4711 #62781C #8AAA28 #ADD23E #C2DD6F

Accessibility & contrast

On white

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

On black

7.86
#8AAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAA28
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAA28#FFFFFF#000000##000000
##8AAA281.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aaa28;
/* rgb */ color: rgb(138, 170, 40);
/* oklch */ color: oklch(69.0% 0.155 122.9);
Tailwind
colors: {
  custom: {
    50: '#b0c36c',
    500: '#8aaa28',
    950: '#000000',
  },
}
SCSS
$custom: #8aaa28;
$custom-light: #b0c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaa28",
  "rgb": {
    "r": 138,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 74.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6903,
    "c": 0.15457,
    "h": 122.9
  },
  "luminance": 0.34306
}

Semantic roles & 50–950 ramp

primary
#8AAA28
secondary
#806AC4
accent
#43E56B
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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