#8BA229#8BA229

#8BA229 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.2% C 0.144 H 120.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8BA229
RGBrgb(139, 162, 41)
HSLhsl(71, 60%, 40%)
HSVhsv(71, 75%, 64%)
CMYKcmyk(14.2%, 0%, 74.7%, 36.5%)
CIE-LABlab(62.92, -24.28, 56.28)
CIE-LCHlch(62.92, 61.29, 113.33°)
OKLaboklab(67.21% -0.072 0.1247)
OKLCHoklch(67.21% 0.144 120)
XYZxyz(23.9685, 31.4898, 6.9128)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA229 #4029A2
analogous
#A27D29 #8BA229 #4FA229
triadic
#8BA229 #298BA2 #A2298B
tetradic
#8BA229 #29A27D #4029A2 #A2294F
square
#8BA229 #29A27D #4029A2 #A2294F
split-complementary
#8BA229 #294FA2 #7D29A2
monochromatic
#374010 #61711D #8BA229 #B2CD3B #C5DA6C

Accessibility & contrast

On white

2.88
#8BA229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#8BA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA229
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA229#FFFFFF#000000##000000
##8BA2291.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980F
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#93998B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba229;
/* rgb */ color: rgb(139, 162, 41);
/* oklch */ color: oklch(67.2% 0.144 120.0);
Tailwind
colors: {
  custom: {
    50: '#b0bd6c',
    500: '#8ba229',
    950: '#000000',
  },
}
SCSS
$custom: #8ba229;
$custom-light: #b0bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba229",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 71.405,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67205,
    "c": 0.14396,
    "h": 120
  },
  "luminance": 0.3149
}

Semantic roles & 50–950 ramp

primary
#8BA229
secondary
#7867C0
accent
#45E363
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA229

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

Preview Lab → · Contrast checker → · Palette generator →

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