#8A9B5F#8A9B5F

#8A9B5F is a light, moderate yellow-green. Relative luminance 0.297; OKLCH L 66.1% C 0.085 H 121.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A9B5F
RGBrgb(138, 155, 95)
HSLhsl(77, 24%, 49%)
HSVhsv(77, 39%, 61%)
CMYKcmyk(11%, 0%, 38.7%, 39.2%)
CIE-LABlab(61.37, -16.29, 29.48)
CIE-LCHlch(61.37, 33.68, 118.93°)
OKLaboklab(66.13% -0.0446 0.0724)
OKLCHoklch(66.13% 0.085 121.6)
XYZxyz(24.2681, 29.6722, 15.2731)
Luminance0.2967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B5F #705F9B
analogous
#9B8E5F #8A9B5F #6C9B5F
triadic
#8A9B5F #5F8A9B #9B5F8A
tetradic
#8A9B5F #5F9B8E #705F9B #9B5F6C
square
#8A9B5F #5F9B8E #705F9B #9B5F6C
split-complementary
#8A9B5F #5F6C9B #8E5F9B
monochromatic
#464F30 #687548 #8A9B5F #A6B384 #C1CBAA

Accessibility & contrast

On white

3.03
#8A9B5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8A9B5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B5F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B5F#FFFFFF#000000##000000
##8A9B5F1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2945B
Deuteranopia (green-blind)
#A09462
Tritanopia (blue-blind)
#8F958C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9b5f;
/* rgb */ color: rgb(138, 155, 95);
/* oklch */ color: oklch(66.1% 0.085 121.6);
Tailwind
colors: {
  custom: {
    50: '#adb88d',
    500: '#8a9b5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b5f;
$custom-light: #adb88d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b5f",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 95
  },
  "hsl": {
    "h": 77,
    "s": 24,
    "l": 49.02
  },
  "oklch": {
    "l": 0.66126,
    "c": 0.08508,
    "h": 121.6
  },
  "luminance": 0.29672
}

Semantic roles & 50–950 ramp

primary
#8A9B5F
secondary
#A59DB9
accent
#67C081
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #8A9B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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