#8A9E28#8A9E28

#8A9E28 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 66.2% C 0.140 H 118.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A9E28
RGBrgb(138, 158, 40)
HSLhsl(70, 60%, 39%)
HSVhsv(70, 75%, 62%)
CMYKcmyk(12.7%, 0%, 74.7%, 38%)
CIE-LABlab(61.66, -22.76, 55.40)
CIE-LCHlch(61.66, 59.90, 112.34°)
OKLaboklab(66.17% -0.0678 0.1227)
OKLCHoklch(66.17% 0.14 118.9)
XYZxyz(23.0916, 30.0104, 6.5832)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E28 #3C289E
analogous
#9E7728 #8A9E28 #4F9E28
triadic
#8A9E28 #288A9E #9E288A
tetradic
#8A9E28 #289E77 #3C289E #9E284F
square
#8A9E28 #289E77 #3C289E #9E284F
split-complementary
#8A9E28 #284F9E #77289E
monochromatic
#353C0F #5F6D1C #8A9E28 #B3CC37 #C6D968

Accessibility & contrast

On white

3.00
#8A9E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A9E28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E28
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E28#FFFFFF#000000##000000
##8A9E281.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950F
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#929587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e28;
/* rgb */ color: rgb(138, 158, 40);
/* oklch */ color: oklch(66.2% 0.140 118.9);
Tailwind
colors: {
  custom: {
    50: '#afba6b',
    500: '#8a9e28',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e28;
$custom-light: #afba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e28",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 70.169,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66173,
    "c": 0.1402,
    "h": 118.9
  },
  "luminance": 0.3001
}

Semantic roles & 50–950 ramp

primary
#8A9E28
secondary
#7363BF
accent
#45E360
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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