#8AB338#8AB338

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

Color values

HEX#8AB338
RGBrgb(138, 179, 56)
HSLhsl(80, 52%, 46%)
HSVhsv(80, 69%, 70%)
CMYKcmyk(22.9%, 0%, 68.7%, 29.8%)
CIE-LABlab(67.97, -31.97, 55.69)
CIE-LCHlch(67.97, 64.21, 119.86°)
OKLaboklab(71.3% -0.0917 0.1259)
OKLCHoklch(71.3% 0.156 126.1)
XYZxyz(27.3153, 37.9286, 9.6225)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB338 #6138B3
analogous
#B39E38 #8AB338 #4CB338
triadic
#8AB338 #388AB3 #B3388A
tetradic
#8AB338 #38B39E #6138B3 #B3384C
square
#8AB338 #38B39E #6138B3 #B3384C
split-complementary
#8AB338 #384CB3 #9E38B3
monochromatic
#42561B #668429 #8AB338 #A7CC5C #C0DB8B

Accessibility & contrast

On white

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

On black

8.59
#8AB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB338
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB338#FFFFFF#000000##000000
##8AB3381.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ab338;
/* rgb */ color: rgb(138, 179, 56);
/* oklch */ color: oklch(71.3% 0.156 126.1);
Tailwind
colors: {
  custom: {
    50: '#afca76',
    500: '#8ab338',
    950: '#000000',
  },
}
SCSS
$custom: #8ab338;
$custom-light: #afca76;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab338",
  "rgb": {
    "r": 138,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 80,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.15574,
    "h": 126.1
  },
  "luminance": 0.37929
}

Semantic roles & 50–950 ramp

primary
#8AB338
secondary
#9882C5
accent
#4CDC7C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB338

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

Preview Lab → · Contrast checker → · Palette generator →

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