#8A9D2F#8A9D2F

#8A9D2F is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 66.0% C 0.134 H 118.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A9D2F
RGBrgb(138, 157, 47)
HSLhsl(70, 54%, 40%)
HSVhsv(70, 70%, 62%)
CMYKcmyk(12.1%, 0%, 70.1%, 38.4%)
CIE-LABlab(61.41, -21.87, 52.55)
CIE-LCHlch(61.41, 56.92, 112.59°)
OKLaboklab(65.99% -0.0647 0.1179)
OKLCHoklch(65.99% 0.134 118.8)
XYZxyz(23.0517, 29.7226, 7.2114)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D2F #422F9D
analogous
#9D792F #8A9D2F #539D2F
triadic
#8A9D2F #2F8A9D #9D2F8A
tetradic
#8A9D2F #2F9D79 #422F9D #9D2F53
square
#8A9D2F #2F9D79 #422F9D #9D2F53
split-complementary
#8A9D2F #2F539D #792F9D
monochromatic
#373F13 #616E21 #8A9D2F #B0C743 #C4D572

Accessibility & contrast

On white

3.02
#8A9D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8A9D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D2F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D2F#FFFFFF#000000##000000
##8A9D2F1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941E
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#929487
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d2f;
/* rgb */ color: rgb(138, 157, 47);
/* oklch */ color: oklch(66.0% 0.134 118.8);
Tailwind
colors: {
  custom: {
    50: '#afb96e',
    500: '#8a9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d2f;
$custom-light: #afb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d2f",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 70.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.65987,
    "c": 0.13447,
    "h": 118.8
  },
  "luminance": 0.29722
}

Semantic roles & 50–950 ramp

primary
#8A9D2F
secondary
#796BBC
accent
#4BDD64
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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