#8BA428#8BA428

#8BA428 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.7% C 0.147 H 120.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8BA428
RGBrgb(139, 164, 40)
HSLhsl(72, 61%, 40%)
HSVhsv(72, 76%, 64%)
CMYKcmyk(15.2%, 0%, 75.6%, 35.7%)
CIE-LABlab(63.50, -25.31, 57.18)
CIE-LCHlch(63.50, 62.53, 113.88°)
OKLaboklab(67.67% -0.0749 0.1264)
OKLCHoklch(67.67% 0.147 120.6)
XYZxyz(24.3064, 32.1931, 6.9405)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA428 #4128A4
analogous
#A47F28 #8BA428 #4DA428
triadic
#8BA428 #288BA4 #A4288B
tetradic
#8BA428 #28A47F #4128A4 #A4284D
square
#8BA428 #28A47F #4128A4 #A4284D
split-complementary
#8BA428 #284DA4 #7F28A4
monochromatic
#384210 #61731C #8BA428 #B1CF3A #C4DB6B

Accessibility & contrast

On white

2.82
#8BA428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8BA428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA428
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA428#FFFFFF#000000##000000
##8BA4281.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0B
Deuteranopia (green-blind)
#AB9A33
Tritanopia (blue-blind)
#939B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ba428;
/* rgb */ color: rgb(139, 164, 40);
/* oklch */ color: oklch(67.7% 0.147 120.6);
Tailwind
colors: {
  custom: {
    50: '#b0bf6c',
    500: '#8ba428',
    950: '#000000',
  },
}
SCSS
$custom: #8ba428;
$custom-light: #b0bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba428",
  "rgb": {
    "r": 139,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 72.097,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.67673,
    "c": 0.14693,
    "h": 120.6
  },
  "luminance": 0.32193
}

Semantic roles & 50–950 ramp

primary
#8BA428
secondary
#7966C1
accent
#44E464
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA428

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

Preview Lab → · Contrast checker → · Palette generator →

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