#8A9852#8A9852

#8A9852 is a light, moderate yellow-green. Relative luminance 0.285; OKLCH L 65.2% C 0.096 H 118.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A9852
RGBrgb(138, 152, 82)
HSLhsl(72, 30%, 46%)
HSVhsv(72, 46%, 60%)
CMYKcmyk(9.2%, 0%, 46.1%, 40.4%)
CIE-LABlab(60.31, -16.30, 35.01)
CIE-LCHlch(60.31, 38.62, 114.96°)
OKLaboklab(65.22% -0.0456 0.0843)
OKLCHoklch(65.22% 0.096 118.4)
XYZxyz(23.2326, 28.4691, 12.2522)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9852 #605298
analogous
#988352 #8A9852 #679852
triadic
#8A9852 #528A98 #98528A
tetradic
#8A9852 #529883 #605298 #985267
square
#8A9852 #529883 #605298 #985267
split-complementary
#8A9852 #526798 #835298
monochromatic
#424827 #66703D #8A9852 #A7B473 #C0C99B

Accessibility & contrast

On white

3.14
#8A9852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8A9852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9852
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9852#FFFFFF#000000##000000
##8A98521.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0914C
Deuteranopia (green-blind)
#9F9256
Tritanopia (blue-blind)
#909187
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9852;
/* rgb */ color: rgb(138, 152, 82);
/* oklch */ color: oklch(65.2% 0.096 118.4);
Tailwind
colors: {
  custom: {
    50: '#adb684',
    500: '#8a9852',
    950: '#000000',
  },
}
SCSS
$custom: #8a9852;
$custom-light: #adb684;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9852",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 82
  },
  "hsl": {
    "h": 72,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65216,
    "c": 0.0958,
    "h": 118.4
  },
  "luminance": 0.28469
}

Semantic roles & 50–950 ramp

primary
#8A9852
secondary
#9790B6
accent
#62C676
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9852

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

Preview Lab → · Contrast checker → · Palette generator →

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