#8BA231#8BA231

#8BA231 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.3% C 0.139 H 120.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8BA231
RGBrgb(139, 162, 49)
HSLhsl(72, 54%, 41%)
HSVhsv(72, 70%, 64%)
CMYKcmyk(14.2%, 0%, 69.8%, 36.5%)
CIE-LABlab(62.97, -23.82, 53.36)
CIE-LCHlch(62.97, 58.44, 114.06°)
OKLaboklab(67.26% -0.07 0.1199)
OKLCHoklch(67.26% 0.139 120.3)
XYZxyz(24.1226, 31.5515, 7.7244)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA231 #4831A2
analogous
#A28131 #8BA231 #53A231
triadic
#8BA231 #318BA2 #A2318B
tetradic
#8BA231 #31A281 #4831A2 #A23153
square
#8BA231 #31A281 #4831A2 #A23153
split-complementary
#8BA231 #3153A2 #8131A2
monochromatic
#3A4415 #637323 #8BA231 #AEC848 #C3D677

Accessibility & contrast

On white

2.87
#8BA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8BA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA231
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA231#FFFFFF#000000##000000
##8BA2311.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991F
Deuteranopia (green-blind)
#A9993A
Tritanopia (blue-blind)
#93998C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ba231;
/* rgb */ color: rgb(139, 162, 49);
/* oklch */ color: oklch(67.3% 0.139 120.3);
Tailwind
colors: {
  custom: {
    50: '#b0bd70',
    500: '#8ba231',
    950: '#000000',
  },
}
SCSS
$custom: #8ba231;
$custom-light: #b0bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba231",
  "rgb": {
    "r": 139,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 72.212,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67263,
    "c": 0.13881,
    "h": 120.3
  },
  "luminance": 0.31551
}

Semantic roles & 50–950 ramp

primary
#8BA231
secondary
#8071BE
accent
#4BDD69
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8BA231

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

Preview Lab → · Contrast checker → · Palette generator →

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