#8A9E2B#8A9E2B

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

Color values

HEX#8A9E2B
RGBrgb(138, 158, 43)
HSLhsl(70, 57%, 39%)
HSVhsv(70, 73%, 62%)
CMYKcmyk(12.7%, 0%, 72.8%, 38%)
CIE-LABlab(61.68, -22.60, 54.34)
CIE-LCHlch(61.68, 58.86, 112.59°)
OKLaboklab(66.19% -0.0671 0.121)
OKLCHoklch(66.19% 0.138 119)
XYZxyz(23.1446, 30.0316, 6.8624)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E2B #3F2B9E
analogous
#9E792B #8A9E2B #519E2B
triadic
#8A9E2B #2B8A9E #9E2B8A
tetradic
#8A9E2B #2B9E79 #3F2B9E #9E2B51
square
#8A9E2B #2B9E79 #3F2B9E #9E2B51
split-complementary
#8A9E2B #2B519E #792B9E
monochromatic
#363E11 #606E1E #8A9E2B #B1CA3C #C5D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9E2B#FFFFFF#000000##000000
##8A9E2B1.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)
#A89516
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#929588
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e2b;
/* rgb */ color: rgb(138, 158, 43);
/* oklch */ color: oklch(66.2% 0.138 119.0);
Tailwind
colors: {
  custom: {
    50: '#afba6c',
    500: '#8a9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e2b;
$custom-light: #afba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e2b",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 70.435,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.13834,
    "h": 119
  },
  "luminance": 0.30031
}

Semantic roles & 50–950 ramp

primary
#8A9E2B
secondary
#7667BE
accent
#47E062
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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