#8BAF38#8BAF38

#8BAF38 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.4% C 0.150 H 124.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8BAF38
RGBrgb(139, 175, 56)
HSLhsl(78, 52%, 45%)
HSVhsv(78, 68%, 69%)
CMYKcmyk(20.6%, 0%, 68%, 31.4%)
CIE-LABlab(66.85, -29.69, 54.56)
CIE-LCHlch(66.85, 62.11, 118.55°)
OKLaboklab(70.41% -0.0855 0.1235)
OKLCHoklch(70.41% 0.15 124.7)
XYZxyz(26.6914, 36.4342, 9.3669)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BAF38 #5C38AF
analogous
#AF9738 #8BAF38 #50AF38
triadic
#8BAF38 #388BAF #AF388B
tetradic
#8BAF38 #38AF97 #5C38AF #AF3850
square
#8BAF38 #38AF97 #5C38AF #AF3850
split-complementary
#8BAF38 #3850AF #9738AF
monochromatic
#41521A #668129 #8BAF38 #A8CA5A #C1D988

Accessibility & contrast

On white

2.53
#8BAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#8BAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BAF38
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BAF38#FFFFFF#000000##000000
##8BAF381.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#B4A242
Tritanopia (blue-blind)
#91A797
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8baf38;
/* rgb */ color: rgb(139, 175, 56);
/* oklch */ color: oklch(70.4% 0.150 124.7);
Tailwind
colors: {
  custom: {
    50: '#b0c775',
    500: '#8baf38',
    950: '#000000',
  },
}
SCSS
$custom: #8baf38;
$custom-light: #b0c775;
$custom-dark: #000000;
JSON
{
  "hex": "#8baf38",
  "rgb": {
    "r": 139,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 78.151,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7041,
    "c": 0.15019,
    "h": 124.7
  },
  "luminance": 0.36434
}

Semantic roles & 50–950 ramp

primary
#8BAF38
secondary
#9480C3
accent
#4DDB78
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8BAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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