#8AB538#8AB538

#8AB538 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.8% C 0.158 H 126.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#8AB538
RGBrgb(138, 181, 56)
HSLhsl(81, 53%, 46%)
HSVhsv(81, 69%, 71%)
CMYKcmyk(23.8%, 0%, 69.1%, 29%)
CIE-LABlab(68.56, -32.91, 56.29)
CIE-LCHlch(68.56, 65.21, 120.31°)
OKLaboklab(71.78% -0.0943 0.1271)
OKLCHoklch(71.78% 0.158 126.6)
XYZxyz(27.7190, 38.7361, 9.7571)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB538 #6338B5
analogous
#B5A238 #8AB538 #4CB538
triadic
#8AB538 #388AB5 #B5388A
tetradic
#8AB538 #38B5A2 #6338B5 #B5384C
square
#8AB538 #38B5A2 #6338B5 #B5384C
split-complementary
#8AB538 #384CB5 #A238B5
monochromatic
#43581B #66862A #8AB538 #A7CD5D #C0DB8C

Accessibility & contrast

On white

2.40
#8AB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#8AB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB538
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB538#FFFFFF#000000##000000
##8AB5381.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#8FAD9C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab538;
/* rgb */ color: rgb(138, 181, 56);
/* oklch */ color: oklch(71.8% 0.158 126.6);
Tailwind
colors: {
  custom: {
    50: '#b0cb76',
    500: '#8ab538',
    950: '#000000',
  },
}
SCSS
$custom: #8ab538;
$custom-light: #b0cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab538",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 80.64,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71777,
    "c": 0.1583,
    "h": 126.6
  },
  "luminance": 0.38737
}

Semantic roles & 50–950 ramp

primary
#8AB538
secondary
#9A83C6
accent
#4CDC7D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB538

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

Preview Lab → · Contrast checker → · Palette generator →

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