#8A9945#8A9945

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

Color values

HEX#8A9945
RGBrgb(138, 153, 69)
HSLhsl(71, 38%, 44%)
HSVhsv(71, 55%, 60%)
CMYKcmyk(9.8%, 0%, 54.9%, 40%)
CIE-LABlab(60.44, -18.15, 41.73)
CIE-LCHlch(60.44, 45.51, 113.50°)
OKLaboklab(65.27% -0.052 0.0979)
OKLCHoklch(65.27% 0.111 118)
XYZxyz(22.9469, 28.6156, 9.9436)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9945 #544599
analogous
#997E45 #8A9945 #609945
triadic
#8A9945 #458A99 #99458A
tetradic
#8A9945 #45997E #544599 #994560
square
#8A9945 #45997E #544599 #994560
split-complementary
#8A9945 #456099 #7E4599
monochromatic
#3E451F #646F32 #8A9945 #A9B963 #C0CC8D

Accessibility & contrast

On white

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

On black

6.72
#8A9945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9945
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9945#FFFFFF#000000##000000
##8A99451.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9945;
/* rgb */ color: rgb(138, 153, 69);
/* oklch */ color: oklch(65.3% 0.111 118.0);
Tailwind
colors: {
  custom: {
    50: '#aeb77b',
    500: '#8a9945',
    950: '#000000',
  },
}
SCSS
$custom: #8a9945;
$custom-light: #aeb77b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9945",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 69
  },
  "hsl": {
    "h": 70.714,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65269,
    "c": 0.11085,
    "h": 118
  },
  "luminance": 0.28615
}

Semantic roles & 50–950 ramp

primary
#8A9945
secondary
#8C83B7
accent
#5ACE6F
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9945

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

Preview Lab → · Contrast checker → · Palette generator →

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