#8AB546#8AB546

#8AB546 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 71.9% C 0.148 H 127.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8AB546
RGBrgb(138, 181, 70)
HSLhsl(83, 44%, 49%)
HSVhsv(83, 61%, 71%)
CMYKcmyk(23.8%, 0%, 61.3%, 29%)
CIE-LABlab(68.67, -31.84, 50.58)
CIE-LCHlch(68.67, 59.77, 122.19°)
OKLaboklab(71.91% -0.0901 0.1169)
OKLCHoklch(71.91% 0.148 127.6)
XYZxyz(28.1105, 38.8927, 11.8192)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB546 #7146B5
analogous
#B5A946 #8AB546 #53B546
triadic
#8AB546 #468AB5 #B5468A
tetradic
#8AB546 #46B5A9 #7146B5 #B54653
square
#8AB546 #46B5A9 #7146B5 #B54653
split-complementary
#8AB546 #4653B5 #A946B5
monochromatic
#475D24 #688935 #8AB546 #A6C870 #C2D99C

Accessibility & contrast

On white

2.39
#8AB546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#8AB546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB546
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB546#FFFFFF#000000##000000
##8AB5461.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA939
Deuteranopia (green-blind)
#B8A74E
Tritanopia (blue-blind)
#8FAD9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ab546;
/* rgb */ color: rgb(138, 181, 70);
/* oklch */ color: oklch(71.9% 0.148 127.6);
Tailwind
colors: {
  custom: {
    50: '#afcb7e',
    500: '#8ab546',
    950: '#000000',
  },
}
SCSS
$custom: #8ab546;
$custom-light: #afcb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab546",
  "rgb": {
    "r": 138,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 83.243,
    "s": 44.223,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71906,
    "c": 0.14765,
    "h": 127.6
  },
  "luminance": 0.38893
}

Semantic roles & 50–950 ramp

primary
#8AB546
secondary
#A692C5
accent
#54D485
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB546

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

Preview Lab → · Contrast checker → · Palette generator →

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