#8A9D2C#8A9D2C

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

Color values

HEX#8A9D2C
RGBrgb(138, 157, 44)
HSLhsl(70, 56%, 39%)
HSVhsv(70, 72%, 62%)
CMYKcmyk(12.1%, 0%, 72%, 38.4%)
CIE-LABlab(61.39, -22.05, 53.69)
CIE-LCHlch(61.39, 58.04, 112.33°)
OKLaboklab(65.96% -0.0655 0.1198)
OKLCHoklch(65.96% 0.137 118.7)
XYZxyz(22.9933, 29.6992, 6.9036)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D2C #3F2C9D
analogous
#9D772C #8A9D2C #529D2C
triadic
#8A9D2C #2C8A9D #9D2C8A
tetradic
#8A9D2C #2C9D77 #3F2C9D #9D2C52
square
#8A9D2C #2C9D77 #3F2C9D #9D2C52
split-complementary
#8A9D2C #2C529D #772C9D
monochromatic
#363D11 #606D1F #8A9D2C #B1C93D #C5D66D

Accessibility & contrast

On white

3.03
#8A9D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9D2C#FFFFFF#000000##000000
##8A9D2C1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9d2c;
/* rgb */ color: rgb(138, 157, 44);
/* oklch */ color: oklch(66.0% 0.137 118.7);
Tailwind
colors: {
  custom: {
    50: '#afb96d',
    500: '#8a9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d2c;
$custom-light: #afb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d2c",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 70.088,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65964,
    "c": 0.1365,
    "h": 118.7
  },
  "luminance": 0.29699
}

Semantic roles & 50–950 ramp

primary
#8A9D2C
secondary
#7668BD
accent
#48E062
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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