#8BA818#8BA818

#8BA818 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.5% C 0.159 H 121.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8BA818
RGBrgb(139, 168, 24)
HSLhsl(72, 75%, 38%)
HSVhsv(72, 86%, 66%)
CMYKcmyk(17.3%, 0%, 85.7%, 34.1%)
CIE-LABlab(64.61, -27.90, 62.73)
CIE-LCHlch(64.61, 68.66, 113.97°)
OKLaboklab(68.55% -0.0831 0.1355)
OKLCHoklch(68.55% 0.159 121.5)
XYZxyz(24.8154, 33.5602, 6.0344)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA818 #3518A8
analogous
#A87D18 #8BA818 #43A818
triadic
#8BA818 #188BA8 #A8188B
tetradic
#8BA818 #18A87D #3518A8 #A81843
square
#8BA818 #18A87D #3518A8 #A81843
split-complementary
#8BA818 #1843A8 #7D18A8
monochromatic
#323D09 #5F7210 #8BA818 #B7DE20 #C9E754

Accessibility & contrast

On white

2.72
#8BA818 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#8BA818 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA818
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA818#FFFFFF#000000##000000
##8BA8181.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#AF9D29
Tritanopia (blue-blind)
#939F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ba818;
/* rgb */ color: rgb(139, 168, 24);
/* oklch */ color: oklch(68.5% 0.159 121.5);
Tailwind
colors: {
  custom: {
    50: '#b1c166',
    500: '#8ba818',
    950: '#000000',
  },
}
SCSS
$custom: #8ba818;
$custom-light: #b1c166;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba818",
  "rgb": {
    "r": 139,
    "g": 168,
    "b": 24
  },
  "hsl": {
    "h": 72.083,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.68546,
    "c": 0.15898,
    "h": 121.5
  },
  "luminance": 0.3356
}

Semantic roles & 50–950 ramp

primary
#8BA818
secondary
#6A53C9
accent
#36F25C
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA818

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

Preview Lab → · Contrast checker → · Palette generator →

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