#8BAF2F#8BAF2F

#8BAF2F is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.3% C 0.156 H 124.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8BAF2F
RGBrgb(139, 175, 47)
HSLhsl(77, 58%, 44%)
HSVhsv(77, 73%, 69%)
CMYKcmyk(20.6%, 0%, 73.1%, 31.4%)
CIE-LABlab(66.79, -30.25, 57.90)
CIE-LCHlch(66.79, 65.33, 117.58°)
OKLaboklab(70.34% -0.0878 0.1291)
OKLCHoklch(70.34% 0.156 124.2)
XYZxyz(26.4908, 36.3539, 8.3102)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAF2F #532FAF
analogous
#AF932F #8BAF2F #4BAF2F
triadic
#8BAF2F #2F8BAF #AF2F8B
tetradic
#8BAF2F #2FAF93 #532FAF #AF2F4B
square
#8BAF2F #2FAF93 #532FAF #AF2F4B
split-complementary
#8BAF2F #2F4BAF #932FAF
monochromatic
#3E4F15 #657F22 #8BAF2F #AACF4C #C1DC7C

Accessibility & contrast

On white

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

On black

8.27
#8BAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAF2F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAF2F#FFFFFF#000000##000000
##8BAF2F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8baf2f;
/* rgb */ color: rgb(139, 175, 47);
/* oklch */ color: oklch(70.3% 0.156 124.2);
Tailwind
colors: {
  custom: {
    50: '#b0c770',
    500: '#8baf2f',
    950: '#000000',
  },
}
SCSS
$custom: #8baf2f;
$custom-light: #b0c770;
$custom-dark: #000000;
JSON
{
  "hex": "#8baf2f",
  "rgb": {
    "r": 139,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 76.875,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.15616,
    "h": 124.2
  },
  "luminance": 0.36354
}

Semantic roles & 50–950 ramp

primary
#8BAF2F
secondary
#8C75C4
accent
#47E172
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8BAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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