#8BAF28#8BAF28

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

Color values

HEX#8BAF28
RGBrgb(139, 175, 40)
HSLhsl(76, 63%, 42%)
HSVhsv(76, 77%, 69%)
CMYKcmyk(20.6%, 0%, 77.1%, 31.4%)
CIE-LABlab(66.75, -30.61, 60.23)
CIE-LCHlch(66.75, 67.57, 116.94°)
OKLaboklab(70.3% -0.0894 0.1329)
OKLCHoklch(70.3% 0.16 123.9)
XYZxyz(26.3607, 36.3019, 7.6253)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAF28 #4C28AF
analogous
#AF9028 #8BAF28 #48AF28
triadic
#8BAF28 #288BAF #AF288B
tetradic
#8BAF28 #28AF90 #4C28AF #AF2848
square
#8BAF28 #28AF90 #4C28AF #AF2848
split-complementary
#8BAF28 #2848AF #9028AF
monochromatic
#3C4B11 #637D1D #8BAF28 #ACD441 #C2DF73

Accessibility & contrast

On white

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

On black

8.26
#8BAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAF28
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAF28#FFFFFF#000000##000000
##8BAF281.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A302
Deuteranopia (green-blind)
#B4A235
Tritanopia (blue-blind)
#92A696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8baf28;
/* rgb */ color: rgb(139, 175, 40);
/* oklch */ color: oklch(70.3% 0.160 123.9);
Tailwind
colors: {
  custom: {
    50: '#b1c76d',
    500: '#8baf28',
    950: '#000000',
  },
}
SCSS
$custom: #8baf28;
$custom-light: #b1c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8baf28",
  "rgb": {
    "r": 139,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 76,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70297,
    "c": 0.16014,
    "h": 123.9
  },
  "luminance": 0.36302
}

Semantic roles & 50–950 ramp

primary
#8BAF28
secondary
#856DC6
accent
#42E66E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8BAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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