#8A9F2E#8A9F2E

#8A9F2E is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.5% C 0.138 H 119.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A9F2E
RGBrgb(138, 159, 46)
HSLhsl(71, 55%, 40%)
HSVhsv(71, 71%, 62%)
CMYKcmyk(13.2%, 0%, 71.1%, 37.6%)
CIE-LABlab(62.00, -22.93, 53.52)
CIE-LCHlch(62.00, 58.23, 113.19°)
OKLaboklab(66.45% -0.0677 0.1198)
OKLCHoklch(66.45% 0.138 119.5)
XYZxyz(23.3729, 30.3969, 7.2201)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F2E #432E9F
analogous
#9F7B2E #8A9F2E #529F2E
triadic
#8A9F2E #2E8A9F #9F2E8A
tetradic
#8A9F2E #2E9F7B #432E9F #9F2E52
square
#8A9F2E #2E9F7B #432E9F #9F2E52
split-complementary
#8A9F2E #2E529F #7B2E9F
monochromatic
#384013 #617020 #8A9F2E #AFC842 #C3D671

Accessibility & contrast

On white

2.97
#8A9F2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9F2E#FFFFFF#000000##000000
##8A9F2E1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961B
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#929689
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f2e;
/* rgb */ color: rgb(138, 159, 46);
/* oklch */ color: oklch(66.5% 0.138 119.5);
Tailwind
colors: {
  custom: {
    50: '#afbb6e',
    500: '#8a9f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f2e;
$custom-light: #afbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f2e",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 71.15,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66452,
    "c": 0.13759,
    "h": 119.5
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#8A9F2E
secondary
#7B6BBE
accent
#49DE65
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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