#8AA42C#8AA42C

#8AA42C is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.6% C 0.145 H 121.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8AA42C
RGBrgb(138, 164, 44)
HSLhsl(73, 58%, 41%)
HSVhsv(73, 73%, 64%)
CMYKcmyk(15.9%, 0%, 73.2%, 35.7%)
CIE-LABlab(63.46, -25.52, 55.71)
CIE-LCHlch(63.46, 61.28, 114.62°)
OKLaboklab(67.63% -0.0751 0.124)
OKLCHoklch(67.63% 0.145 121.2)
XYZxyz(24.2117, 32.1361, 7.3097)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA42C #462CA4
analogous
#A4822C #8AA42C #4EA42C
triadic
#8AA42C #2C8AA4 #A42C8A
tetradic
#8AA42C #2CA482 #462CA4 #A42C4E
square
#8AA42C #2CA482 #462CA4 #A42C4E
split-complementary
#8AA42C #2C4EA4 #822CA4
monochromatic
#394312 #61741F #8AA42C #AECC41 #C3D971

Accessibility & contrast

On white

2.83
#8AA42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8AA42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA42C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA42C#FFFFFF#000000##000000
##8AA42C1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A15
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#929B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8aa42c;
/* rgb */ color: rgb(138, 164, 44);
/* oklch */ color: oklch(67.6% 0.145 121.2);
Tailwind
colors: {
  custom: {
    50: '#afbf6e',
    500: '#8aa42c',
    950: '#000000',
  },
}
SCSS
$custom: #8aa42c;
$custom-light: #afbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa42c",
  "rgb": {
    "r": 138,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 73,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67625,
    "c": 0.14496,
    "h": 121.2
  },
  "luminance": 0.32136
}

Semantic roles & 50–950 ramp

primary
#8AA42C
secondary
#7E6BC0
accent
#47E168
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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