#8BA331#8BA331

#8BA331 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.5% C 0.140 H 120.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8BA331
RGBrgb(139, 163, 49)
HSLhsl(73, 54%, 42%)
HSVhsv(73, 70%, 64%)
CMYKcmyk(14.7%, 0%, 69.9%, 36.1%)
CIE-LABlab(63.26, -24.32, 53.66)
CIE-LCHlch(63.26, 58.91, 114.38°)
OKLaboklab(67.5% -0.0713 0.1205)
OKLCHoklch(67.5% 0.14 120.6)
XYZxyz(24.2994, 31.9052, 7.7833)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA331 #4931A3
analogous
#A38231 #8BA331 #52A331
triadic
#8BA331 #318BA3 #A3318B
tetradic
#8BA331 #31A382 #4931A3 #A33152
square
#8BA331 #31A382 #4931A3 #A33152
split-complementary
#8BA331 #3152A3 #8231A3
monochromatic
#3B4515 #637423 #8BA331 #ADC849 #C3D678

Accessibility & contrast

On white

2.85
#8BA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#8BA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA331
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA331#FFFFFF#000000##000000
##8BA3311.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#939A8C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ba331;
/* rgb */ color: rgb(139, 163, 49);
/* oklch */ color: oklch(67.5% 0.140 120.6);
Tailwind
colors: {
  custom: {
    50: '#b0be70',
    500: '#8ba331',
    950: '#000000',
  },
}
SCSS
$custom: #8ba331;
$custom-light: #b0be70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba331",
  "rgb": {
    "r": 139,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 72.632,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.14004,
    "h": 120.6
  },
  "luminance": 0.31905
}

Semantic roles & 50–950 ramp

primary
#8BA331
secondary
#8171BF
accent
#4BDD69
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8BA331

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

Preview Lab → · Contrast checker → · Palette generator →

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