#8A9952#8A9952

#8A9952 is a light, moderate yellow-green. Relative luminance 0.288; OKLCH L 65.4% C 0.097 H 119.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A9952
RGBrgb(138, 153, 82)
HSLhsl(73, 30%, 46%)
HSVhsv(73, 46%, 60%)
CMYKcmyk(9.8%, 0%, 46.4%, 40%)
CIE-LABlab(60.60, -16.82, 35.37)
CIE-LCHlch(60.60, 39.17, 115.43°)
OKLaboklab(65.45% -0.0471 0.0851)
OKLCHoklch(65.45% 0.097 119)
XYZxyz(23.3956, 28.7951, 12.3065)
Luminance0.2879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9952 #615299
analogous
#998452 #8A9952 #669952
triadic
#8A9952 #528A99 #99528A
tetradic
#8A9952 #529984 #615299 #995266
square
#8A9952 #529984 #615299 #995266
split-complementary
#8A9952 #526699 #845299
monochromatic
#424927 #66713D #8A9952 #A7B474 #C0CA9C

Accessibility & contrast

On white

3.11
#8A9952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#8A9952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9952
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9952#FFFFFF#000000##000000
##8A99521.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1924C
Deuteranopia (green-blind)
#9F9256
Tritanopia (blue-blind)
#909288
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9952;
/* rgb */ color: rgb(138, 153, 82);
/* oklch */ color: oklch(65.4% 0.097 119.0);
Tailwind
colors: {
  custom: {
    50: '#adb784',
    500: '#8a9952',
    950: '#000000',
  },
}
SCSS
$custom: #8a9952;
$custom-light: #adb784;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9952",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 82
  },
  "hsl": {
    "h": 72.676,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65448,
    "c": 0.09721,
    "h": 119
  },
  "luminance": 0.28795
}

Semantic roles & 50–950 ramp

primary
#8A9952
secondary
#9890B7
accent
#61C677
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9952

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

Preview Lab → · Contrast checker → · Palette generator →

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