#8A9E2D#8A9E2D

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

Color values

HEX#8A9E2D
RGBrgb(138, 158, 45)
HSLhsl(71, 56%, 40%)
HSVhsv(71, 72%, 62%)
CMYKcmyk(12.7%, 0%, 71.5%, 38%)
CIE-LABlab(61.69, -22.49, 53.61)
CIE-LCHlch(61.69, 58.13, 112.76°)
OKLaboklab(66.21% -0.0666 0.1198)
OKLCHoklch(66.21% 0.137 119.1)
XYZxyz(23.1822, 30.0466, 7.0604)
Luminance0.3005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E2D #412D9E
analogous
#9E792D #8A9E2D #529E2D
triadic
#8A9E2D #2D8A9E #9E2D8A
tetradic
#8A9E2D #2D9E79 #412D9E #9E2D52
square
#8A9E2D #2D9E79 #412D9E #9E2D52
split-complementary
#8A9E2D #2D529E #792D9E
monochromatic
#373F12 #606E1F #8A9E2D #B0C940 #C4D66F

Accessibility & contrast

On white

3.00
#8A9E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9E2D#FFFFFF#000000##000000
##8A9E2D1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9e2d;
/* rgb */ color: rgb(138, 158, 45);
/* oklch */ color: oklch(66.2% 0.137 119.1);
Tailwind
colors: {
  custom: {
    50: '#afba6e',
    500: '#8a9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e2d;
$custom-light: #afba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e2d",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 70.619,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66208,
    "c": 0.13704,
    "h": 119.1
  },
  "luminance": 0.30046
}

Semantic roles & 50–950 ramp

primary
#8A9E2D
secondary
#7869BD
accent
#49DF63
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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