#8AB334#8AB334

#8AB334 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.3% C 0.158 H 125.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8AB334
RGBrgb(138, 179, 52)
HSLhsl(79, 55%, 45%)
HSVhsv(79, 71%, 70%)
CMYKcmyk(22.9%, 0%, 70.9%, 29.8%)
CIE-LABlab(67.94, -32.23, 57.19)
CIE-LCHlch(67.94, 65.65, 119.40°)
OKLaboklab(71.27% -0.0928 0.1284)
OKLCHoklch(71.27% 0.158 125.9)
XYZxyz(27.2213, 37.8910, 9.1277)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB334 #5D34B3
analogous
#B39C34 #8AB334 #4BB334
triadic
#8AB334 #348AB3 #B3348A
tetradic
#8AB334 #34B39C #5D34B3 #B3344B
square
#8AB334 #34B39C #5D34B3 #B3344B
split-complementary
#8AB334 #344BB3 #9C34B3
monochromatic
#415418 #658426 #8AB334 #A7CE56 #C0DC86

Accessibility & contrast

On white

2.45
#8AB334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#8AB334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB334
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB334#FFFFFF#000000##000000
##8AB3341.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71F
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#90AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ab334;
/* rgb */ color: rgb(138, 179, 52);
/* oklch */ color: oklch(71.3% 0.158 125.9);
Tailwind
colors: {
  custom: {
    50: '#b0ca73',
    500: '#8ab334',
    950: '#000000',
  },
}
SCSS
$custom: #8ab334;
$custom-light: #b0ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab334",
  "rgb": {
    "r": 138,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 79.37,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71266,
    "c": 0.15844,
    "h": 125.9
  },
  "luminance": 0.37891
}

Semantic roles & 50–950 ramp

primary
#8AB334
secondary
#957DC5
accent
#49DE7A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB334

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

Preview Lab → · Contrast checker → · Palette generator →

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