#8A9A3E#8A9A3E

#8A9A3E is a light, moderate yellow-green. Relative luminance 0.289; OKLCH L 65.4% C 0.119 H 118.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8A9A3E
RGBrgb(138, 154, 62)
HSLhsl(70, 43%, 42%)
HSVhsv(70, 60%, 60%)
CMYKcmyk(10.4%, 0%, 59.7%, 39.6%)
CIE-LABlab(60.66, -19.28, 45.31)
CIE-LCHlch(60.66, 49.24, 113.05°)
OKLaboklab(65.42% -0.0559 0.1048)
OKLCHoklch(65.42% 0.119 118.1)
XYZxyz(22.9067, 28.8625, 8.9208)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A3E #4E3E9A
analogous
#9A7C3E #8A9A3E #5C9A3E
triadic
#8A9A3E #3E8A9A #9A3E8A
tetradic
#8A9A3E #3E9A7C #4E3E9A #9A3E5C
square
#8A9A3E #3E9A7C #4E3E9A #9A3E5C
split-complementary
#8A9A3E #3E5C9A #7C3E9A
monochromatic
#3C431B #636E2C #8A9A3E #ABBC59 #C1CE85

Accessibility & contrast

On white

3.10
#8A9A3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#8A9A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A3E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A3E#FFFFFF#000000##000000
##8A9A3E1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49234
Deuteranopia (green-blind)
#A29344
Tritanopia (blue-blind)
#929286
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a3e;
/* rgb */ color: rgb(138, 154, 62);
/* oklch */ color: oklch(65.4% 0.119 118.1);
Tailwind
colors: {
  custom: {
    50: '#aeb777',
    500: '#8a9a3e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a3e;
$custom-light: #aeb777;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a3e",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 62
  },
  "hsl": {
    "h": 70.435,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65421,
    "c": 0.11875,
    "h": 118.1
  },
  "luminance": 0.28862
}

Semantic roles & 50–950 ramp

primary
#8A9A3E
secondary
#867CB8
accent
#55D26B
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A9A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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