#8A9F2D#8A9F2D

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

Color values

HEX#8A9F2D
RGBrgb(138, 159, 45)
HSLhsl(71, 56%, 40%)
HSVhsv(71, 72%, 62%)
CMYKcmyk(13.2%, 0%, 71.7%, 37.6%)
CIE-LABlab(61.99, -22.99, 53.90)
CIE-LCHlch(61.99, 58.60, 113.10°)
OKLaboklab(66.44% -0.068 0.1204)
OKLCHoklch(66.44% 0.138 119.5)
XYZxyz(23.3535, 30.3891, 7.1175)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F2D #422D9F
analogous
#9F7B2D #8A9F2D #519F2D
triadic
#8A9F2D #2D8A9F #9F2D8A
tetradic
#8A9F2D #2D9F7B #422D9F #9F2D51
square
#8A9F2D #2D9F7B #422D9F #9F2D51
split-complementary
#8A9F2D #2D519F #7B2D9F
monochromatic
#374012 #616F20 #8A9F2D #B0C940 #C4D670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9F2D#FFFFFF#000000##000000
##8A9F2D1.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)
#A99619
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#929689
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f2d;
/* rgb */ color: rgb(138, 159, 45);
/* oklch */ color: oklch(66.4% 0.138 119.5);
Tailwind
colors: {
  custom: {
    50: '#afbb6e',
    500: '#8a9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f2d;
$custom-light: #afbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f2d",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 71.053,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.66445,
    "c": 0.13825,
    "h": 119.5
  },
  "luminance": 0.30389
}

Semantic roles & 50–950 ramp

primary
#8A9F2D
secondary
#796ABE
accent
#49DF64
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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