#8A9C51#8A9C51

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

Color values

HEX#8A9C51
RGBrgb(138, 156, 81)
HSLhsl(74, 32%, 46%)
HSVhsv(74, 48%, 61%)
CMYKcmyk(11.5%, 0%, 48.1%, 38.8%)
CIE-LABlab(61.46, -18.48, 36.94)
CIE-LCHlch(61.46, 41.30, 116.58°)
OKLaboklab(66.13% -0.0519 0.0885)
OKLCHoklch(66.13% 0.103 120.4)
XYZxyz(23.8550, 29.7743, 12.2733)
Luminance0.2977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C51 #63519C
analogous
#9C8951 #8A9C51 #659C51
triadic
#8A9C51 #518A9C #9C518A
tetradic
#8A9C51 #519C89 #63519C #9C5165
square
#8A9C51 #519C89 #63519C #9C5165
split-complementary
#8A9C51 #51659C #89519C
monochromatic
#434B27 #66743C #8A9C51 #A7B774 #C0CC9C

Accessibility & contrast

On white

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

On black

6.95
#8A9C51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C51
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C51#FFFFFF#000000##000000
##8A9C511.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4954B
Deuteranopia (green-blind)
#A29555
Tritanopia (blue-blind)
#90958A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9c51;
/* rgb */ color: rgb(138, 156, 81);
/* oklch */ color: oklch(66.1% 0.103 120.4);
Tailwind
colors: {
  custom: {
    50: '#adb983',
    500: '#8a9c51',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c51;
$custom-light: #adb983;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c51",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 81
  },
  "hsl": {
    "h": 74.4,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.66132,
    "c": 0.10254,
    "h": 120.4
  },
  "luminance": 0.29774
}

Semantic roles & 50–950 ramp

primary
#8A9C51
secondary
#9A90B8
accent
#60C879
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C

Preview Lab

Preview with #8A9C51

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

Preview Lab → · Contrast checker → · Palette generator →

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