#8A9B40#8A9B40

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

Color values

HEX#8A9B40
RGBrgb(138, 155, 64)
HSLhsl(71, 42%, 43%)
HSVhsv(71, 59%, 61%)
CMYKcmyk(11%, 0%, 58.7%, 39.2%)
CIE-LABlab(60.97, -19.62, 44.73)
CIE-LCHlch(60.97, 48.84, 113.69°)
OKLaboklab(65.68% -0.0567 0.1038)
OKLCHoklch(65.68% 0.118 118.7)
XYZxyz(23.1283, 29.2163, 9.2704)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B40 #51409B
analogous
#9B7E40 #8A9B40 #5C9B40
triadic
#8A9B40 #408A9B #9B408A
tetradic
#8A9B40 #409B7E #51409B #9B405C
square
#8A9B40 #409B7E #51409B #9B405C
split-complementary
#8A9B40 #405C9B #7E409B
monochromatic
#3D441C #63702E #8A9B40 #AABC5C #C1CE88

Accessibility & contrast

On white

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

On black

6.84
#8A9B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B40
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B40#FFFFFF#000000##000000
##8A9B401.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49336
Deuteranopia (green-blind)
#A29446
Tritanopia (blue-blind)
#919387
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b40;
/* rgb */ color: rgb(138, 155, 64);
/* oklch */ color: oklch(65.7% 0.118 118.7);
Tailwind
colors: {
  custom: {
    50: '#aeb878',
    500: '#8a9b40',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b40;
$custom-light: #aeb878;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b40",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 64
  },
  "hsl": {
    "h": 71.209,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65678,
    "c": 0.11823,
    "h": 118.7
  },
  "luminance": 0.29216
}

Semantic roles & 50–950 ramp

primary
#8A9B40
secondary
#897EB8
accent
#56D16D
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8A9B40

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

Preview Lab → · Contrast checker → · Palette generator →

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