#8BA116#8BA116

#8BA116 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 66.9% C 0.152 H 119.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8BA116
RGBrgb(139, 161, 22)
HSLhsl(69, 76%, 36%)
HSVhsv(69, 86%, 63%)
CMYKcmyk(13.7%, 0%, 86.3%, 36.9%)
CIE-LABlab(62.54, -24.54, 61.44)
CIE-LCHlch(62.54, 66.16, 111.77°)
OKLaboklab(66.87% -0.0741 0.1324)
OKLCHoklch(66.87% 0.152 119.2)
XYZxyz(23.5377, 31.0368, 5.5096)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA116 #2C16A1
analogous
#A17116 #8BA116 #46A116
triadic
#8BA116 #168BA1 #A1168B
tetradic
#8BA116 #16A171 #2C16A1 #A11646
square
#8BA116 #16A171 #2C16A1 #A11646
split-complementary
#8BA116 #1646A1 #7116A1
monochromatic
#2E3507 #5D6B0F #8BA116 #B9D71D #CEE64B

Accessibility & contrast

On white

2.91
#8BA116 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8BA116 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA116
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA116#FFFFFF#000000##000000
##8BA1161.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AA9827
Tritanopia (blue-blind)
#949889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ba116;
/* rgb */ color: rgb(139, 161, 22);
/* oklch */ color: oklch(66.9% 0.152 119.2);
Tailwind
colors: {
  custom: {
    50: '#b1bc64',
    500: '#8ba116',
    950: '#000000',
  },
}
SCSS
$custom: #8ba116;
$custom-light: #b1bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba116",
  "rgb": {
    "r": 139,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 69.496,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66871,
    "c": 0.15173,
    "h": 119.2
  },
  "luminance": 0.31037
}

Semantic roles & 50–950 ramp

primary
#8BA116
secondary
#5F4BC8
accent
#35F353
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8BA116

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

Preview Lab → · Contrast checker → · Palette generator →

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