#8A9D2B#8A9D2B

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

Color values

HEX#8A9D2B
RGBrgb(138, 157, 43)
HSLhsl(70, 57%, 39%)
HSVhsv(70, 73%, 62%)
CMYKcmyk(12.1%, 0%, 72.6%, 38.4%)
CIE-LABlab(61.39, -22.10, 54.05)
CIE-LCHlch(61.39, 58.40, 112.24°)
OKLaboklab(65.96% -0.0657 0.1204)
OKLCHoklch(65.96% 0.137 118.6)
XYZxyz(22.9747, 29.6918, 6.8058)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D2B #3E2B9D
analogous
#9D772B #8A9D2B #519D2B
triadic
#8A9D2B #2B8A9D #9D2B8A
tetradic
#8A9D2B #2B9D77 #3E2B9D #9D2B51
square
#8A9D2B #2B9D77 #3E2B9D #9D2B51
split-complementary
#8A9D2B #2B519D #772B9D
monochromatic
#363D11 #606D1E #8A9D2B #B2CA3C #C5D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9D2B#FFFFFF#000000##000000
##8A9D2B1.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)
#A79416
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#929487
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d2b;
/* rgb */ color: rgb(138, 157, 43);
/* oklch */ color: oklch(66.0% 0.137 118.6);
Tailwind
colors: {
  custom: {
    50: '#afb96c',
    500: '#8a9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d2b;
$custom-light: #afb96c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d2b",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 70,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65957,
    "c": 0.13714,
    "h": 118.6
  },
  "luminance": 0.29692
}

Semantic roles & 50–950 ramp

primary
#8A9D2B
secondary
#7566BD
accent
#48E061
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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