#8A9E4F#8A9E4F

#8A9E4F is a light, moderate yellow-green. Relative luminance 0.304; OKLCH L 66.6% C 0.107 H 121.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A9E4F
RGBrgb(138, 158, 79)
HSLhsl(75, 33%, 46%)
HSVhsv(75, 50%, 62%)
CMYKcmyk(12.7%, 0%, 50%, 38%)
CIE-LABlab(62.02, -19.72, 38.63)
CIE-LCHlch(62.02, 43.37, 117.05°)
OKLaboklab(66.57% -0.0555 0.092)
OKLCHoklch(66.57% 0.107 121.1)
XYZxyz(24.1195, 30.4215, 11.9969)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E4F #634F9E
analogous
#9E8B4F #8A9E4F #639E4F
triadic
#8A9E4F #4F8A9E #9E4F8A
tetradic
#8A9E4F #4F9E8B #634F9E #9E4F63
square
#8A9E4F #4F9E8B #634F9E #9E4F63
split-complementary
#8A9E4F #4F639E #8B4F9E
monochromatic
#434C26 #66753B #8A9E4F #A7B872 #C0CD9B

Accessibility & contrast

On white

2.96
#8A9E4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8A9E4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E4F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E4F#FFFFFF#000000##000000
##8A9E4F1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69648
Deuteranopia (green-blind)
#A49653
Tritanopia (blue-blind)
#90978C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9e4f;
/* rgb */ color: rgb(138, 158, 79);
/* oklch */ color: oklch(66.6% 0.107 121.1);
Tailwind
colors: {
  custom: {
    50: '#aeba82',
    500: '#8a9e4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e4f;
$custom-light: #aeba82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e4f",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 79
  },
  "hsl": {
    "h": 75.19,
    "s": 33.333,
    "l": 46.471
  },
  "oklch": {
    "l": 0.6657,
    "c": 0.10749,
    "h": 121.1
  },
  "luminance": 0.30422
}

Semantic roles & 50–950 ramp

primary
#8A9E4F
secondary
#9A8FBA
accent
#5EC979
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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