#8AB431#8AB431

#8AB431 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.5% C 0.162 H 125.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8AB431
RGBrgb(138, 180, 49)
HSLhsl(79, 57%, 45%)
HSVhsv(79, 73%, 71%)
CMYKcmyk(23.3%, 0%, 72.8%, 29.4%)
CIE-LABlab(68.22, -32.88, 58.57)
CIE-LCHlch(68.22, 67.16, 119.31°)
OKLaboklab(71.48% -0.0948 0.1308)
OKLCHoklch(71.48% 0.162 125.9)
XYZxyz(27.3570, 38.2671, 8.8501)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB431 #5B31B4
analogous
#B49D31 #8AB431 #48B431
triadic
#8AB431 #318AB4 #B4318A
tetradic
#8AB431 #31B49D #5B31B4 #B43148
square
#8AB431 #31B49D #5B31B4 #B43148
split-complementary
#8AB431 #3148B4 #9D31B4
monochromatic
#405417 #658424 #8AB431 #A8D052 #C0DD82

Accessibility & contrast

On white

2.43
#8AB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#8AB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB431
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB431#FFFFFF#000000##000000
##8AB4311.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#90AB9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ab431;
/* rgb */ color: rgb(138, 180, 49);
/* oklch */ color: oklch(71.5% 0.162 125.9);
Tailwind
colors: {
  custom: {
    50: '#b0ca72',
    500: '#8ab431',
    950: '#000000',
  },
}
SCSS
$custom: #8ab431;
$custom-light: #b0ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab431",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 79.237,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71484,
    "c": 0.16158,
    "h": 125.9
  },
  "luminance": 0.38268
}

Semantic roles & 50–950 ramp

primary
#8AB431
secondary
#937BC6
accent
#47E078
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB431

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

Preview Lab → · Contrast checker → · Palette generator →

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