#8AA42D#8AA42D

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

Color values

HEX#8AA42D
RGBrgb(138, 164, 45)
HSLhsl(73, 57%, 41%)
HSVhsv(73, 73%, 64%)
CMYKcmyk(15.9%, 0%, 72.6%, 35.7%)
CIE-LABlab(63.46, -25.47, 55.35)
CIE-LCHlch(63.46, 60.93, 114.71°)
OKLaboklab(67.63% -0.0748 0.1234)
OKLCHoklch(67.63% 0.144 121.2)
XYZxyz(24.2307, 32.1437, 7.4099)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA42D #472DA4
analogous
#A4822D #8AA42D #4EA42D
triadic
#8AA42D #2D8AA4 #A42D8A
tetradic
#8AA42D #2DA482 #472DA4 #A42D4E
square
#8AA42D #2DA482 #472DA4 #A42D4E
split-complementary
#8AA42D #2D4EA4 #822DA4
monochromatic
#394413 #627420 #8AA42D #AECB43 #C2D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AA42D#FFFFFF#000000##000000
##8AA42D1.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)
#AE9A17
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#929B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8aa42d;
/* rgb */ color: rgb(138, 164, 45);
/* oklch */ color: oklch(67.6% 0.144 121.2);
Tailwind
colors: {
  custom: {
    50: '#afbf6e',
    500: '#8aa42d',
    950: '#000000',
  },
}
SCSS
$custom: #8aa42d;
$custom-light: #afbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa42d",
  "rgb": {
    "r": 138,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 73.109,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67632,
    "c": 0.14433,
    "h": 121.2
  },
  "luminance": 0.32144
}

Semantic roles & 50–950 ramp

primary
#8AA42D
secondary
#7F6DC0
accent
#48E069
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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