#8A9846#8A9846

#8A9846 is a light, moderate yellow-green. Relative luminance 0.283; OKLCH L 65.0% C 0.109 H 117.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A9846
RGBrgb(138, 152, 70)
HSLhsl(70, 37%, 44%)
HSVhsv(70, 54%, 60%)
CMYKcmyk(9.2%, 0%, 53.9%, 40.4%)
CIE-LABlab(60.16, -17.54, 40.91)
CIE-LCHlch(60.16, 44.51, 113.20°)
OKLaboklab(65.05% -0.0502 0.0962)
OKLCHoklch(65.05% 0.109 117.6)
XYZxyz(22.8153, 28.3021, 10.0541)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9846 #544698
analogous
#987D46 #8A9846 #619846
triadic
#8A9846 #468A98 #98468A
tetradic
#8A9846 #46987D #544698 #984661
square
#8A9846 #46987D #544698 #984661
split-complementary
#8A9846 #466198 #7D4698
monochromatic
#3E441F #646E33 #8A9846 #A9B764 #C0CB8E

Accessibility & contrast

On white

3.15
#8A9846 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8A9846 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9846
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9846#FFFFFF#000000##000000
##8A98461.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1913E
Deuteranopia (green-blind)
#A0914B
Tritanopia (blue-blind)
#919186
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9846;
/* rgb */ color: rgb(138, 152, 70);
/* oklch */ color: oklch(65.0% 0.109 117.6);
Tailwind
colors: {
  custom: {
    50: '#aeb67c',
    500: '#8a9846',
    950: '#000000',
  },
}
SCSS
$custom: #8a9846;
$custom-light: #aeb67c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9846",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 70
  },
  "hsl": {
    "h": 70.244,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65048,
    "c": 0.10853,
    "h": 117.6
  },
  "luminance": 0.28302
}

Semantic roles & 50–950 ramp

primary
#8A9846
secondary
#8C84B6
accent
#5BCD6E
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9846

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

Preview Lab → · Contrast checker → · Palette generator →

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