#8A9D52#8A9D52

#8A9D52 is a light, moderate yellow-green. Relative luminance 0.301; OKLCH L 66.4% C 0.103 H 121.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A9D52
RGBrgb(138, 157, 82)
HSLhsl(75, 31%, 47%)
HSVhsv(75, 48%, 62%)
CMYKcmyk(12.1%, 0%, 47.8%, 38.4%)
CIE-LABlab(61.76, -18.89, 36.80)
CIE-LCHlch(61.76, 41.36, 117.17°)
OKLaboklab(66.38% -0.0529 0.0882)
OKLCHoklch(66.38% 0.103 121)
XYZxyz(24.0613, 30.1264, 12.5284)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D52 #65529D
analogous
#9D8B52 #8A9D52 #659D52
triadic
#8A9D52 #528A9D #9D528A
tetradic
#8A9D52 #529D8B #65529D #9D5265
square
#8A9D52 #529D8B #65529D #9D5265
split-complementary
#8A9D52 #52659D #8B529D
monochromatic
#434D28 #67753D #8A9D52 #A6B775 #C0CC9D

Accessibility & contrast

On white

2.99
#8A9D52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8A9D52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9D52
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D52#FFFFFF#000000##000000
##8A9D521.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5954C
Deuteranopia (green-blind)
#A39556
Tritanopia (blue-blind)
#90968B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9d52;
/* rgb */ color: rgb(138, 157, 82);
/* oklch */ color: oklch(66.4% 0.103 121.0);
Tailwind
colors: {
  custom: {
    50: '#adba84',
    500: '#8a9d52',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d52;
$custom-light: #adba84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d52",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 82
  },
  "hsl": {
    "h": 75.2,
    "s": 31.381,
    "l": 46.863
  },
  "oklch": {
    "l": 0.6638,
    "c": 0.10287,
    "h": 121
  },
  "luminance": 0.30126
}

Semantic roles & 50–950 ramp

primary
#8A9D52
secondary
#9C92B9
accent
#60C87A
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9D52

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

Preview Lab → · Contrast checker → · Palette generator →

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