#8A9E2C#8A9E2C

#8A9E2C 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#8A9E2C
RGBrgb(138, 158, 44)
HSLhsl(71, 56%, 40%)
HSVhsv(71, 72%, 62%)
CMYKcmyk(12.7%, 0%, 72.2%, 38%)
CIE-LABlab(61.69, -22.55, 53.98)
CIE-LCHlch(61.69, 58.50, 112.67°)
OKLaboklab(66.2% -0.0669 0.1204)
OKLCHoklch(66.2% 0.138 119)
XYZxyz(23.1632, 30.0390, 6.9602)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E2C #402C9E
analogous
#9E792C #8A9E2C #519E2C
triadic
#8A9E2C #2C8A9E #9E2C8A
tetradic
#8A9E2C #2C9E79 #402C9E #9E2C51
square
#8A9E2C #2C9E79 #402C9E #9E2C51
split-complementary
#8A9E2C #2C519E #792C9E
monochromatic
#363E11 #606E1F #8A9E2C #B1C93E #C4D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8a9e2c;
/* rgb */ color: rgb(138, 158, 44);
/* oklch */ color: oklch(66.2% 0.138 119.0);
Tailwind
colors: {
  custom: {
    50: '#afba6d',
    500: '#8a9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e2c;
$custom-light: #afba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e2c",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 70.526,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66201,
    "c": 0.1377,
    "h": 119
  },
  "luminance": 0.30039
}

Semantic roles & 50–950 ramp

primary
#8A9E2C
secondary
#7768BE
accent
#48E063
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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