#8BA526#8BA526

#8BA526 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.9% C 0.149 H 120.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8BA526
RGBrgb(139, 165, 38)
HSLhsl(72, 63%, 40%)
HSVhsv(72, 77%, 65%)
CMYKcmyk(15.8%, 0%, 77%, 35.3%)
CIE-LABlab(63.79, -25.90, 58.11)
CIE-LCHlch(63.79, 63.62, 114.02°)
OKLaboklab(67.9% -0.0767 0.128)
OKLCHoklch(67.9% 0.149 120.9)
XYZxyz(24.4529, 32.5392, 6.8258)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA526 #4026A5
analogous
#A57F26 #8BA526 #4CA526
triadic
#8BA526 #268BA5 #A5268B
tetradic
#8BA526 #26A57F #4026A5 #A5264C
square
#8BA526 #26A57F #4026A5 #A5264C
split-complementary
#8BA526 #264CA5 #7F26A5
monochromatic
#37420F #61731B #8BA526 #B2D137 #C5DC69

Accessibility & contrast

On white

2.80
#8BA526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#8BA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA526
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA526#FFFFFF#000000##000000
##8BA5261.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B04
Deuteranopia (green-blind)
#AC9B32
Tritanopia (blue-blind)
#939C8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8ba526;
/* rgb */ color: rgb(139, 165, 38);
/* oklch */ color: oklch(67.9% 0.149 120.9);
Tailwind
colors: {
  custom: {
    50: '#b0bf6b',
    500: '#8ba526',
    950: '#000000',
  },
}
SCSS
$custom: #8ba526;
$custom-light: #b0bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba526",
  "rgb": {
    "r": 139,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 72.283,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67899,
    "c": 0.14923,
    "h": 120.9
  },
  "luminance": 0.32539
}

Semantic roles & 50–950 ramp

primary
#8BA526
secondary
#7864C3
accent
#42E664
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA526

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

Preview Lab → · Contrast checker → · Palette generator →

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