#8FBA3F#8FBA3F

#8FBA3F is a light, vivid yellow-green. Relative luminance 0.413; OKLCH L 73.4% C 0.157 H 126.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#8FBA3F
RGBrgb(143, 186, 63)
HSLhsl(81, 49%, 49%)
HSVhsv(81, 66%, 73%)
CMYKcmyk(23.1%, 0%, 66.1%, 27.1%)
CIE-LABlab(70.40, -32.79, 55.51)
CIE-LCHlch(70.40, 64.47, 120.57°)
OKLaboklab(73.36% -0.0937 0.1264)
OKLCHoklch(73.36% 0.157 126.6)
XYZxyz(29.7839, 41.3159, 11.1073)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FBA3F #6A3FBA
analogous
#BAA83F #8FBA3F #51BA3F
triadic
#8FBA3F #3F8FBA #BA3F8F
tetradic
#8FBA3F #3FBAA8 #6A3FBA #BA3F51
square
#8FBA3F #3FBAA8 #6A3FBA #BA3F51
split-complementary
#8FBA3F #3F51BA #A83FBA
monochromatic
#495F20 #6C8C30 #8FBA3F #AACC6A #C4DC97

Accessibility & contrast

On white

2.27
#8FBA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#8FBA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FBA3F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FBA3F#FFFFFF#000000##000000
##8FBA3F1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE2E
Deuteranopia (green-blind)
#BEAB49
Tritanopia (blue-blind)
#94B2A1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8fba3f;
/* rgb */ color: rgb(143, 186, 63);
/* oklch */ color: oklch(73.4% 0.157 126.6);
Tailwind
colors: {
  custom: {
    50: '#b3cf7a',
    500: '#8fba3f',
    950: '#000000',
  },
}
SCSS
$custom: #8fba3f;
$custom-light: #b3cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fba3f",
  "rgb": {
    "r": 143,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 80.976,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73362,
    "c": 0.15731,
    "h": 126.6
  },
  "luminance": 0.41316
}

Semantic roles & 50–950 ramp

primary
#8FBA3F
secondary
#A28DC8
accent
#4FD97F
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8FBA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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