#8A9752#8A9752

#8A9752 is a light, moderate yellow-green. Relative luminance 0.281; OKLCH L 65.0% C 0.094 H 117.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8A9752
RGBrgb(138, 151, 82)
HSLhsl(71, 30%, 46%)
HSVhsv(71, 46%, 59%)
CMYKcmyk(8.6%, 0%, 45.7%, 40.8%)
CIE-LABlab(60.02, -15.78, 34.65)
CIE-LCHlch(60.02, 38.08, 114.48°)
OKLaboklab(64.98% -0.0441 0.0835)
OKLCHoklch(64.98% 0.094 117.9)
XYZxyz(23.0710, 28.1458, 12.1983)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9752 #5F5297
analogous
#978152 #8A9752 #679752
triadic
#8A9752 #528A97 #97528A
tetradic
#8A9752 #529781 #5F5297 #975267
square
#8A9752 #529781 #5F5297 #975267
split-complementary
#8A9752 #526797 #815297
monochromatic
#424827 #666F3C #8A9752 #A7B373 #C0C99B

Accessibility & contrast

On white

3.17
#8A9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8A9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9752
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9752#FFFFFF#000000##000000
##8A97521.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F904C
Deuteranopia (green-blind)
#9E9156
Tritanopia (blue-blind)
#909087
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9752;
/* rgb */ color: rgb(138, 151, 82);
/* oklch */ color: oklch(65.0% 0.094 117.9);
Tailwind
colors: {
  custom: {
    50: '#adb584',
    500: '#8a9752',
    950: '#000000',
  },
}
SCSS
$custom: #8a9752;
$custom-light: #adb584;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9752",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 71.304,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64984,
    "c": 0.0944,
    "h": 117.9
  },
  "luminance": 0.28146
}

Semantic roles & 50–950 ramp

primary
#8A9752
secondary
#968FB6
accent
#62C675
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9752

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

Preview Lab → · Contrast checker → · Palette generator →

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