#8BA628#8BA628

#8BA628 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.1% C 0.149 H 121.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8BA628
RGBrgb(139, 166, 40)
HSLhsl(73, 61%, 40%)
HSVhsv(73, 76%, 65%)
CMYKcmyk(16.3%, 0%, 75.9%, 34.9%)
CIE-LABlab(64.09, -26.29, 57.74)
CIE-LCHlch(64.09, 63.44, 114.48°)
OKLaboklab(68.15% -0.0776 0.1276)
OKLCHoklch(68.15% 0.149 121.3)
XYZxyz(24.6671, 32.9146, 7.0607)
Luminance0.3291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA628 #4328A6
analogous
#A68228 #8BA628 #4CA628
triadic
#8BA628 #288BA6 #A6288B
tetradic
#8BA628 #28A682 #4328A6 #A6284C
square
#8BA628 #28A682 #4328A6 #A6284C
split-complementary
#8BA628 #284CA6 #8228A6
monochromatic
#384310 #62751C #8BA628 #B0D03B #C4DC6D

Accessibility & contrast

On white

2.77
#8BA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#8BA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA628
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA628#FFFFFF#000000##000000
##8BA6281.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0A
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#939D8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ba628;
/* rgb */ color: rgb(139, 166, 40);
/* oklch */ color: oklch(68.1% 0.149 121.3);
Tailwind
colors: {
  custom: {
    50: '#b0c06c',
    500: '#8ba628',
    950: '#000000',
  },
}
SCSS
$custom: #8ba628;
$custom-light: #b0c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba628",
  "rgb": {
    "r": 139,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 72.857,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68149,
    "c": 0.14932,
    "h": 121.3
  },
  "luminance": 0.32915
}

Semantic roles & 50–950 ramp

primary
#8BA628
secondary
#7B67C2
accent
#44E466
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA628

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

Preview Lab → · Contrast checker → · Palette generator →

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