#8A9C52#8A9C52

#8A9C52 is a light, moderate yellow-green. Relative luminance 0.298; OKLCH L 66.1% C 0.101 H 120.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8A9C52
RGBrgb(138, 156, 82)
HSLhsl(75, 31%, 47%)
HSVhsv(75, 47%, 61%)
CMYKcmyk(11.5%, 0%, 47.4%, 38.8%)
CIE-LABlab(61.47, -18.37, 36.44)
CIE-LCHlch(61.47, 40.81, 116.76°)
OKLaboklab(66.15% -0.0515 0.0874)
OKLCHoklch(66.15% 0.101 120.5)
XYZxyz(23.8928, 29.7895, 12.4722)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C52 #64529C
analogous
#9C8952 #8A9C52 #659C52
triadic
#8A9C52 #528A9C #9C528A
tetradic
#8A9C52 #529C89 #64529C #9C5265
square
#8A9C52 #529C89 #64529C #9C5265
split-complementary
#8A9C52 #52659C #89529C
monochromatic
#434C28 #67743D #8A9C52 #A6B675 #C0CB9D

Accessibility & contrast

On white

3.02
#8A9C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#8A9C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C52
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C52#FFFFFF#000000##000000
##8A9C521.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4954C
Deuteranopia (green-blind)
#A29556
Tritanopia (blue-blind)
#90958B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9c52;
/* rgb */ color: rgb(138, 156, 82);
/* oklch */ color: oklch(66.1% 0.101 120.5);
Tailwind
colors: {
  custom: {
    50: '#adb984',
    500: '#8a9c52',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c52;
$custom-light: #adb984;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c52",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 82
  },
  "hsl": {
    "h": 74.595,
    "s": 31.092,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66146,
    "c": 0.10145,
    "h": 120.5
  },
  "luminance": 0.29789
}

Semantic roles & 50–950 ramp

primary
#8A9C52
secondary
#9B91B9
accent
#61C77A
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9C52

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

Preview Lab → · Contrast checker → · Palette generator →

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