#8BA118#8BA118

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

Color values

HEX#8BA118
RGBrgb(139, 161, 24)
HSLhsl(70, 74%, 36%)
HSVhsv(70, 85%, 63%)
CMYKcmyk(13.7%, 0%, 85.1%, 36.9%)
CIE-LABlab(62.55, -24.48, 60.98)
CIE-LCHlch(62.55, 65.71, 111.87°)
OKLaboklab(66.88% -0.0738 0.1318)
OKLCHoklch(66.88% 0.151 119.2)
XYZxyz(23.5577, 31.0448, 5.6152)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA118 #2E18A1
analogous
#A17318 #8BA118 #47A118
triadic
#8BA118 #188BA1 #A1188B
tetradic
#8BA118 #18A173 #2E18A1 #A11847
square
#8BA118 #18A173 #2E18A1 #A11847
split-complementary
#8BA118 #1847A1 #7318A1
monochromatic
#2F3608 #5D6C10 #8BA118 #B9D620 #CDE54F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BA118#FFFFFF#000000##000000
##8BA1181.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)
#AA9828
Tritanopia (blue-blind)
#949889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ba118;
/* rgb */ color: rgb(139, 161, 24);
/* oklch */ color: oklch(66.9% 0.151 119.2);
Tailwind
colors: {
  custom: {
    50: '#b1bc65',
    500: '#8ba118',
    950: '#000000',
  },
}
SCSS
$custom: #8ba118;
$custom-light: #b1bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba118",
  "rgb": {
    "r": 139,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 69.635,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.15101,
    "h": 119.2
  },
  "luminance": 0.31045
}

Semantic roles & 50–950 ramp

primary
#8BA118
secondary
#614EC7
accent
#37F155
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8BA118

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

Preview Lab → · Contrast checker → · Palette generator →

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