#8BAF21#8BAF21

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

Color values

HEX#8BAF21
RGBrgb(139, 175, 33)
HSLhsl(75, 68%, 41%)
HSVhsv(75, 81%, 69%)
CMYKcmyk(20.6%, 0%, 81.1%, 31.4%)
CIE-LABlab(66.72, -30.92, 62.29)
CIE-LCHlch(66.72, 69.54, 116.40°)
OKLaboklab(70.26% -0.0907 0.136)
OKLCHoklch(70.26% 0.164 123.7)
XYZxyz(26.2523, 36.2585, 7.0541)
Luminance0.3626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAF21 #4521AF
analogous
#AF8C21 #8BAF21 #44AF21
triadic
#8BAF21 #218BAF #AF218B
tetradic
#8BAF21 #21AF8C #4521AF #AF2144
square
#8BAF21 #21AF8C #4521AF #AF2144
split-complementary
#8BAF21 #2144AF #8C21AF
monochromatic
#39480E #627C17 #8BAF21 #AFD934 #C3E368

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BAF21#FFFFFF#000000##000000
##8BAF211.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)
#B5A230
Tritanopia (blue-blind)
#92A695
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8baf21;
/* rgb */ color: rgb(139, 175, 33);
/* oklch */ color: oklch(70.3% 0.164 123.7);
Tailwind
colors: {
  custom: {
    50: '#b1c76a',
    500: '#8baf21',
    950: '#000000',
  },
}
SCSS
$custom: #8baf21;
$custom-light: #b1c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8baf21",
  "rgb": {
    "r": 139,
    "g": 175,
    "b": 33
  },
  "hsl": {
    "h": 75.211,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.16353,
    "h": 123.7
  },
  "luminance": 0.36259
}

Semantic roles & 50–950 ramp

primary
#8BAF21
secondary
#7D64C8
accent
#3DEB69
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8BAF21

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

Preview Lab → · Contrast checker → · Palette generator →

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