#8FBA28#8FBA28

#8FBA28 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.2% C 0.171 H 125.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#8FBA28
RGBrgb(143, 186, 40)
HSLhsl(78, 65%, 44%)
HSVhsv(78, 78%, 73%)
CMYKcmyk(23.1%, 0%, 78.5%, 27.1%)
CIE-LABlab(70.25, -34.13, 63.57)
CIE-LCHlch(70.25, 72.16, 118.23°)
OKLaboklab(73.2% -0.0992 0.1398)
OKLCHoklch(73.2% 0.171 125.4)
XYZxyz(29.2698, 41.1103, 8.4001)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FBA28 #5328BA
analogous
#BA9C28 #8FBA28 #46BA28
triadic
#8FBA28 #288FBA #BA288F
tetradic
#8FBA28 #28BA9C #5328BA #BA2846
square
#8FBA28 #28BA9C #5328BA #BA2846
split-complementary
#8FBA28 #2846BA #9C28BA
monochromatic
#425512 #68881D #8FBA28 #ADD848 #C4E27A

Accessibility & contrast

On white

2.28
#8FBA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#8FBA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FBA28
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FBA28#FFFFFF#000000##000000
##8FBA281.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#96B19F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8fba28;
/* rgb */ color: rgb(143, 186, 40);
/* oklch */ color: oklch(73.2% 0.171 125.4);
Tailwind
colors: {
  custom: {
    50: '#b4cf6f',
    500: '#8fba28',
    950: '#000000',
  },
}
SCSS
$custom: #8fba28;
$custom-light: #b4cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8fba28",
  "rgb": {
    "r": 143,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 77.671,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.732,
    "c": 0.17143,
    "h": 125.4
  },
  "luminance": 0.41111
}

Semantic roles & 50–950 ramp

primary
#8FBA28
secondary
#8D73CA
accent
#40E872
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #8FBA28

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

Preview Lab → · Contrast checker → · Palette generator →

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