#8BAF22#8BAF22

#8BAF22 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.163 H 123.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8BAF22
RGBrgb(139, 175, 34)
HSLhsl(75, 67%, 41%)
HSVhsv(75, 81%, 69%)
CMYKcmyk(20.6%, 0%, 80.6%, 31.4%)
CIE-LABlab(66.72, -30.88, 62.01)
CIE-LCHlch(66.72, 69.28, 116.47°)
OKLaboklab(70.26% -0.0906 0.1356)
OKLCHoklch(70.26% 0.163 123.7)
XYZxyz(26.2665, 36.2642, 7.1290)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAF22 #4622AF
analogous
#AF8C22 #8BAF22 #44AF22
triadic
#8BAF22 #228BAF #AF228B
tetradic
#8BAF22 #22AF8C #4622AF #AF2244
square
#8BAF22 #22AF8C #4622AF #AF2244
split-complementary
#8BAF22 #2244AF #8C22AF
monochromatic
#3A490E #627C18 #8BAF22 #AFD836 #C3E269

Accessibility & contrast

On white

2.54
#8BAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#8BAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAF22
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAF22#FFFFFF#000000##000000
##8BAF221.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#92A695
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8baf22;
/* rgb */ color: rgb(139, 175, 34);
/* oklch */ color: oklch(70.3% 0.163 123.7);
Tailwind
colors: {
  custom: {
    50: '#b1c76b',
    500: '#8baf22',
    950: '#000000',
  },
}
SCSS
$custom: #8baf22;
$custom-light: #b1c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8baf22",
  "rgb": {
    "r": 139,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 75.319,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.16308,
    "h": 123.7
  },
  "luminance": 0.36264
}

Semantic roles & 50–950 ramp

primary
#8BAF22
secondary
#7E65C8
accent
#3DEA6A
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8BAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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