#8A9946#8A9946

#8A9946 is a light, moderate yellow-green. Relative luminance 0.286; OKLCH L 65.3% C 0.110 H 118.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A9946
RGBrgb(138, 153, 70)
HSLhsl(71, 37%, 44%)
HSVhsv(71, 54%, 60%)
CMYKcmyk(9.8%, 0%, 54.2%, 40%)
CIE-LABlab(60.45, -18.06, 41.25)
CIE-LCHlch(60.45, 45.03, 113.64°)
OKLaboklab(65.28% -0.0517 0.097)
OKLCHoklch(65.28% 0.11 118.1)
XYZxyz(22.9782, 28.6281, 10.1084)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9946 #554699
analogous
#997E46 #8A9946 #609946
triadic
#8A9946 #468A99 #99468A
tetradic
#8A9946 #46997E #554699 #994660
square
#8A9946 #46997E #554699 #994660
split-complementary
#8A9946 #466099 #7E4699
monochromatic
#3E4520 #646F33 #8A9946 #A9B864 #C0CB8E

Accessibility & contrast

On white

3.12
#8A9946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8A9946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9946
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9946#FFFFFF#000000##000000
##8A99461.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2923E
Deuteranopia (green-blind)
#A0924B
Tritanopia (blue-blind)
#919286
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9946;
/* rgb */ color: rgb(138, 153, 70);
/* oklch */ color: oklch(65.3% 0.110 118.1);
Tailwind
colors: {
  custom: {
    50: '#aeb77c',
    500: '#8a9946',
    950: '#000000',
  },
}
SCSS
$custom: #8a9946;
$custom-light: #aeb77c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9946",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 70
  },
  "hsl": {
    "h": 70.843,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.10986,
    "h": 118.1
  },
  "luminance": 0.28628
}

Semantic roles & 50–950 ramp

primary
#8A9946
secondary
#8D84B7
accent
#5BCD6F
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9946

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

Preview Lab → · Contrast checker → · Palette generator →

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