#8A9D2E#8A9D2E

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

Color values

HEX#8A9D2E
RGBrgb(138, 157, 46)
HSLhsl(70, 55%, 40%)
HSVhsv(70, 71%, 62%)
CMYKcmyk(12.1%, 0%, 70.7%, 38.4%)
CIE-LABlab(61.41, -21.93, 52.94)
CIE-LCHlch(61.41, 57.30, 112.50°)
OKLaboklab(65.98% -0.065 0.1185)
OKLCHoklch(65.98% 0.135 118.7)
XYZxyz(23.0318, 29.7146, 7.1064)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D2E #412E9D
analogous
#9D782E #8A9D2E #539D2E
triadic
#8A9D2E #2E8A9D #9D2E8A
tetradic
#8A9D2E #2E9D78 #412E9D #9D2E53
square
#8A9D2E #2E9D78 #412E9D #9D2E53
split-complementary
#8A9D2E #2E539D #782E9D
monochromatic
#373E12 #606E20 #8A9D2E #B0C741 #C4D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9D2E#FFFFFF#000000##000000
##8A9D2E1.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)
#A7941C
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#929487
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d2e;
/* rgb */ color: rgb(138, 157, 46);
/* oklch */ color: oklch(66.0% 0.135 118.7);
Tailwind
colors: {
  custom: {
    50: '#afb96e',
    500: '#8a9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d2e;
$custom-light: #afb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d2e",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 70.27,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65979,
    "c": 0.13515,
    "h": 118.7
  },
  "luminance": 0.29714
}

Semantic roles & 50–950 ramp

primary
#8A9D2E
secondary
#786ABD
accent
#4ADE63
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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