#8A9841#8A9841

#8A9841 is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.0% C 0.113 H 117.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A9841
RGBrgb(138, 152, 65)
HSLhsl(70, 40%, 43%)
HSVhsv(70, 57%, 60%)
CMYKcmyk(9.2%, 0%, 57.2%, 40.4%)
CIE-LABlab(60.11, -17.99, 43.27)
CIE-LCHlch(60.11, 46.87, 112.58°)
OKLaboklab(64.99% -0.052 0.1008)
OKLCHoklch(64.99% 0.113 117.3)
XYZxyz(22.6640, 28.2416, 9.2572)
Luminance0.2824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9841 #4F4198
analogous
#987A41 #8A9841 #5F9841
triadic
#8A9841 #418A98 #98418A
tetradic
#8A9841 #41987A #4F4198 #98415F
square
#8A9841 #41987A #4F4198 #98415F
split-complementary
#8A9841 #415F98 #7A4198
monochromatic
#3C421C #636D2F #8A9841 #ABBA5D #C1CC88

Accessibility & contrast

On white

3.16
#8A9841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8A9841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9841
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9841#FFFFFF#000000##000000
##8A98411.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19138
Deuteranopia (green-blind)
#A09146
Tritanopia (blue-blind)
#929085
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9841;
/* rgb */ color: rgb(138, 152, 65);
/* oklch */ color: oklch(65.0% 0.113 117.3);
Tailwind
colors: {
  custom: {
    50: '#aeb679',
    500: '#8a9841',
    950: '#000000',
  },
}
SCSS
$custom: #8a9841;
$custom-light: #aeb679;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9841",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 65
  },
  "hsl": {
    "h": 69.655,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64987,
    "c": 0.1134,
    "h": 117.3
  },
  "luminance": 0.28241
}

Semantic roles & 50–950 ramp

primary
#8A9841
secondary
#877EB7
accent
#58D06B
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9841

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

Preview Lab → · Contrast checker → · Palette generator →

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