#8BA12F#8BA12F

#8BA12F is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 67.0% C 0.139 H 119.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8BA12F
RGBrgb(139, 161, 47)
HSLhsl(72, 55%, 41%)
HSVhsv(72, 71%, 63%)
CMYKcmyk(13.7%, 0%, 70.8%, 36.9%)
CIE-LABlab(62.66, -23.45, 53.83)
CIE-LCHlch(62.66, 58.71, 113.54°)
OKLaboklab(67.01% -0.0691 0.1205)
OKLCHoklch(67.01% 0.139 119.8)
XYZxyz(23.9058, 31.1840, 7.4485)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA12F #452FA1
analogous
#A17E2F #8BA12F #52A12F
triadic
#8BA12F #2F8BA1 #A12F8B
tetradic
#8BA12F #2FA17E #452FA1 #A12F52
square
#8BA12F #2FA17E #452FA1 #A12F52
split-complementary
#8BA12F #2F52A1 #7E2FA1
monochromatic
#394213 #627221 #8BA12F #AFC945 #C3D674

Accessibility & contrast

On white

2.90
#8BA12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#8BA12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA12F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA12F#FFFFFF#000000##000000
##8BA12F1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981C
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#93988B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba12f;
/* rgb */ color: rgb(139, 161, 47);
/* oklch */ color: oklch(67.0% 0.139 119.8);
Tailwind
colors: {
  custom: {
    50: '#b0bc6f',
    500: '#8ba12f',
    950: '#000000',
  },
}
SCSS
$custom: #8ba12f;
$custom-light: #b0bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba12f",
  "rgb": {
    "r": 139,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 71.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6701,
    "c": 0.13896,
    "h": 119.8
  },
  "luminance": 0.31184
}

Semantic roles & 50–950 ramp

primary
#8BA12F
secondary
#7D6EBE
accent
#4ADE66
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8BA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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