#8A9E2F#8A9E2F

#8A9E2F is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.2% C 0.136 H 119.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A9E2F
RGBrgb(138, 158, 47)
HSLhsl(71, 54%, 40%)
HSVhsv(71, 70%, 62%)
CMYKcmyk(12.7%, 0%, 70.3%, 38%)
CIE-LABlab(61.71, -22.37, 52.85)
CIE-LCHlch(61.71, 57.39, 112.94°)
OKLaboklab(66.22% -0.0661 0.1185)
OKLCHoklch(66.22% 0.136 119.1)
XYZxyz(23.2216, 30.0624, 7.2681)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E2F #432F9E
analogous
#9E7A2F #8A9E2F #529E2F
triadic
#8A9E2F #2F8A9E #9E2F8A
tetradic
#8A9E2F #2F9E7A #432F9E #9E2F52
square
#8A9E2F #2F9E7A #432F9E #9E2F52
split-complementary
#8A9E2F #2F529E #7A2F9E
monochromatic
#384013 #616F21 #8A9E2F #AFC743 #C3D572

Accessibility & contrast

On white

2.99
#8A9E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#8A9E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E2F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E2F#FFFFFF#000000##000000
##8A9E2F1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951D
Deuteranopia (green-blind)
#A69538
Tritanopia (blue-blind)
#929588
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e2f;
/* rgb */ color: rgb(138, 158, 47);
/* oklch */ color: oklch(66.2% 0.136 119.1);
Tailwind
colors: {
  custom: {
    50: '#afba6f',
    500: '#8a9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e2f;
$custom-light: #afba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e2f",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 70.811,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66223,
    "c": 0.13568,
    "h": 119.1
  },
  "luminance": 0.30062
}

Semantic roles & 50–950 ramp

primary
#8A9E2F
secondary
#7B6CBD
accent
#4ADE65
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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