#8A9B42#8A9B42

#8A9B42 is a light, moderate yellow-green. Relative luminance 0.292; OKLCH L 65.7% C 0.116 H 118.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A9B42
RGBrgb(138, 155, 66)
HSLhsl(71, 40%, 43%)
HSVhsv(71, 57%, 61%)
CMYKcmyk(11%, 0%, 57.4%, 39.2%)
CIE-LABlab(60.99, -19.45, 43.81)
CIE-LCHlch(60.99, 47.93, 113.94°)
OKLaboklab(65.7% -0.056 0.102)
OKLCHoklch(65.7% 0.116 118.8)
XYZxyz(23.1863, 29.2395, 9.5755)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B42 #53429B
analogous
#9B7F42 #8A9B42 #5D9B42
triadic
#8A9B42 #428A9B #9B428A
tetradic
#8A9B42 #429B7F #53429B #9B425D
square
#8A9B42 #429B7F #53429B #9B425D
split-complementary
#8A9B42 #425D9B #7F429B
monochromatic
#3E451D #647030 #8A9B42 #A9BB5F #C0CD8A

Accessibility & contrast

On white

3.07
#8A9B42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8A9B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B42
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B42#FFFFFF#000000##000000
##8A9B421.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49339
Deuteranopia (green-blind)
#A29447
Tritanopia (blue-blind)
#919388
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b42;
/* rgb */ color: rgb(138, 155, 66);
/* oklch */ color: oklch(65.7% 0.116 118.8);
Tailwind
colors: {
  custom: {
    50: '#aeb87a',
    500: '#8a9b42',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b42;
$custom-light: #aeb87a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b42",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 66
  },
  "hsl": {
    "h": 71.461,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65701,
    "c": 0.11638,
    "h": 118.8
  },
  "luminance": 0.29239
}

Semantic roles & 50–950 ramp

primary
#8A9B42
secondary
#8B81B8
accent
#58D06F
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9B42

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

Preview Lab → · Contrast checker → · Palette generator →

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