#8AAB38#8AAB38

#8AAB38 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.4% C 0.146 H 124.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8AAB38
RGBrgb(138, 171, 56)
HSLhsl(77, 51%, 45%)
HSVhsv(77, 67%, 67%)
CMYKcmyk(19.3%, 0%, 67.3%, 32.9%)
CIE-LABlab(65.60, -28.18, 53.24)
CIE-LCHlch(65.60, 60.24, 117.89°)
OKLaboklab(69.39% -0.0813 0.1207)
OKLCHoklch(69.39% 0.146 124)
XYZxyz(25.7582, 34.8144, 9.1034)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAB38 #5938AB
analogous
#AB9338 #8AAB38 #51AB38
triadic
#8AAB38 #388AAB #AB388A
tetradic
#8AAB38 #38AB93 #5938AB #AB3851
square
#8AAB38 #38AB93 #5938AB #AB3851
split-complementary
#8AAB38 #3851AB #9338AB
monochromatic
#404F1A #657D29 #8AAB38 #A8C858 #C0D786

Accessibility & contrast

On white

2.64
#8AAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#8AAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAB38
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAB38#FFFFFF#000000##000000
##8AAB381.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A028
Deuteranopia (green-blind)
#B09F41
Tritanopia (blue-blind)
#90A394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8aab38;
/* rgb */ color: rgb(138, 171, 56);
/* oklch */ color: oklch(69.4% 0.146 124.0);
Tailwind
colors: {
  custom: {
    50: '#afc475',
    500: '#8aab38',
    950: '#000000',
  },
}
SCSS
$custom: #8aab38;
$custom-light: #afc475;
$custom-dark: #000000;
JSON
{
  "hex": "#8aab38",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 77.217,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69386,
    "c": 0.14554,
    "h": 124
  },
  "luminance": 0.34815
}

Semantic roles & 50–950 ramp

primary
#8AAB38
secondary
#917DC1
accent
#4EDA76
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111209
muted
#80817B

Preview Lab

Preview with #8AAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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