#8BAF2A#8BAF2A

#8BAF2A is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.159 H 124.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8BAF2A
RGBrgb(139, 175, 42)
HSLhsl(76, 61%, 43%)
HSVhsv(76, 76%, 69%)
CMYKcmyk(20.6%, 0%, 76%, 31.4%)
CIE-LABlab(66.76, -30.51, 59.60)
CIE-LCHlch(66.76, 66.95, 117.11°)
OKLaboklab(70.31% -0.089 0.1318)
OKLCHoklch(70.31% 0.159 124)
XYZxyz(26.3956, 36.3159, 7.8091)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAF2A #4E2AAF
analogous
#AF912A #8BAF2A #48AF2A
triadic
#8BAF2A #2A8BAF #AF2A8B
tetradic
#8BAF2A #2AAF91 #4E2AAF #AF2A48
square
#8BAF2A #2AAF91 #4E2AAF #AF2A48
split-complementary
#8BAF2A #2A48AF #912AAF
monochromatic
#3D4C12 #647E1E #8BAF2A #ACD244 #C2DE75

Accessibility & contrast

On white

2.54
#8BAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#8BAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAF2A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAF2A#FFFFFF#000000##000000
##8BAF2A1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A409
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#92A696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8baf2a;
/* rgb */ color: rgb(139, 175, 42);
/* oklch */ color: oklch(70.3% 0.159 124.0);
Tailwind
colors: {
  custom: {
    50: '#b1c76e',
    500: '#8baf2a',
    950: '#000000',
  },
}
SCSS
$custom: #8baf2a;
$custom-light: #b1c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8baf2a",
  "rgb": {
    "r": 139,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 76.241,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.15905,
    "h": 124
  },
  "luminance": 0.36316
}

Semantic roles & 50–950 ramp

primary
#8BAF2A
secondary
#876FC6
accent
#43E46F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8BAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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