#8A9B45#8A9B45

#8A9B45 is a light, moderate yellow-green. Relative luminance 0.293; OKLCH L 65.7% C 0.114 H 118.9°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A9B45
RGBrgb(138, 155, 69)
HSLhsl(72, 38%, 44%)
HSVhsv(72, 55%, 61%)
CMYKcmyk(11%, 0%, 55.5%, 39.2%)
CIE-LABlab(61.02, -19.18, 42.40)
CIE-LCHlch(61.02, 46.54, 114.34°)
OKLaboklab(65.74% -0.0549 0.0993)
OKLCHoklch(65.74% 0.114 118.9)
XYZxyz(23.2770, 29.2758, 10.0536)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B45 #56459B
analogous
#9B8145 #8A9B45 #5F9B45
triadic
#8A9B45 #458A9B #9B458A
tetradic
#8A9B45 #459B81 #56459B #9B455F
square
#8A9B45 #459B81 #56459B #9B455F
split-complementary
#8A9B45 #455F9B #81459B
monochromatic
#3F461F #647132 #8A9B45 #A9BA63 #C0CD8E

Accessibility & contrast

On white

3.06
#8A9B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A9B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B45
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B45#FFFFFF#000000##000000
##8A9B451.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933C
Deuteranopia (green-blind)
#A2944A
Tritanopia (blue-blind)
#919488
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b45;
/* rgb */ color: rgb(138, 155, 69);
/* oklch */ color: oklch(65.7% 0.114 118.9);
Tailwind
colors: {
  custom: {
    50: '#aeb87b',
    500: '#8a9b45',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b45;
$custom-light: #aeb87b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b45",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 69
  },
  "hsl": {
    "h": 71.86,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.11351,
    "h": 118.9
  },
  "luminance": 0.29276
}

Semantic roles & 50–950 ramp

primary
#8A9B45
secondary
#8E84B8
accent
#59CE71
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9B45

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

Preview Lab → · Contrast checker → · Palette generator →

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