#8AB333#8AB333

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

Color values

HEX#8AB333
RGBrgb(138, 179, 51)
HSLhsl(79, 56%, 45%)
HSVhsv(79, 72%, 70%)
CMYKcmyk(22.9%, 0%, 71.5%, 29.8%)
CIE-LABlab(67.93, -32.29, 57.56)
CIE-LCHlch(67.93, 66.00, 119.29°)
OKLaboklab(71.26% -0.0931 0.129)
OKLCHoklch(71.26% 0.159 125.8)
XYZxyz(27.1990, 37.8821, 9.0103)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB333 #5C33B3
analogous
#B39C33 #8AB333 #4AB333
triadic
#8AB333 #338AB3 #B3338A
tetradic
#8AB333 #33B39C #5C33B3 #B3334A
square
#8AB333 #33B39C #5C33B3 #B3334A
split-complementary
#8AB333 #334AB3 #9C33B3
monochromatic
#415418 #658325 #8AB333 #A7CE55 #C0DC84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB333#FFFFFF#000000##000000
##8AB3331.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)
#BDA71D
Deuteranopia (green-blind)
#B7A53E
Tritanopia (blue-blind)
#90AA9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ab333;
/* rgb */ color: rgb(138, 179, 51);
/* oklch */ color: oklch(71.3% 0.159 125.8);
Tailwind
colors: {
  custom: {
    50: '#b0ca73',
    500: '#8ab333',
    950: '#000000',
  },
}
SCSS
$custom: #8ab333;
$custom-light: #b0ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab333",
  "rgb": {
    "r": 138,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 79.219,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71259,
    "c": 0.15909,
    "h": 125.8
  },
  "luminance": 0.37882
}

Semantic roles & 50–950 ramp

primary
#8AB333
secondary
#947CC6
accent
#49DF79
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB333

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

Preview Lab → · Contrast checker → · Palette generator →

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