#8A9A45#8A9A45

#8A9A45 is a light, moderate yellow-green. Relative luminance 0.289; OKLCH L 65.5% C 0.112 H 118.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A9A45
RGBrgb(138, 154, 69)
HSLhsl(71, 38%, 44%)
HSVhsv(71, 55%, 60%)
CMYKcmyk(10.4%, 0%, 55.2%, 39.6%)
CIE-LABlab(60.73, -18.66, 42.07)
CIE-LCHlch(60.73, 46.02, 113.93°)
OKLaboklab(65.5% -0.0535 0.0986)
OKLCHoklch(65.5% 0.112 118.5)
XYZxyz(23.1113, 28.9443, 9.9984)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A45 #55459A
analogous
#9A7F45 #8A9A45 #5F9A45
triadic
#8A9A45 #458A9A #9A458A
tetradic
#8A9A45 #459A7F #55459A #9A455F
square
#8A9A45 #459A7F #55459A #9A455F
split-complementary
#8A9A45 #455F9A #7F459A
monochromatic
#3E451F #647032 #8A9A45 #A9B963 #C0CC8D

Accessibility & contrast

On white

3.09
#8A9A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8A9A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A45
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A45#FFFFFF#000000##000000
##8A9A451.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3923D
Deuteranopia (green-blind)
#A1934A
Tritanopia (blue-blind)
#919387
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a45;
/* rgb */ color: rgb(138, 154, 69);
/* oklch */ color: oklch(65.5% 0.112 118.5);
Tailwind
colors: {
  custom: {
    50: '#aeb77b',
    500: '#8a9a45',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a45;
$custom-light: #aeb77b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a45",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 69
  },
  "hsl": {
    "h": 71.294,
    "s": 38.117,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65503,
    "c": 0.11218,
    "h": 118.5
  },
  "luminance": 0.28944
}

Semantic roles & 50–950 ramp

primary
#8A9A45
secondary
#8D83B7
accent
#5ACE70
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9A45

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

Preview Lab → · Contrast checker → · Palette generator →

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