#8A9741#8A9741

#8A9741 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 64.8% C 0.112 H 116.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8A9741
RGBrgb(138, 151, 65)
HSLhsl(69, 40%, 42%)
HSVhsv(69, 57%, 59%)
CMYKcmyk(8.6%, 0%, 57%, 40.8%)
CIE-LABlab(59.81, -17.47, 42.94)
CIE-LCHlch(59.81, 46.36, 112.14°)
OKLaboklab(64.75% -0.0506 0.1001)
OKLCHoklch(64.75% 0.112 116.8)
XYZxyz(22.5023, 27.9184, 9.2034)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9741 #4E4197
analogous
#977941 #8A9741 #5F9741
triadic
#8A9741 #418A97 #97418A
tetradic
#8A9741 #419779 #4E4197 #97415F
square
#8A9741 #419779 #4E4197 #97415F
split-complementary
#8A9741 #415F97 #794197
monochromatic
#3C411C #636C2F #8A9741 #ABB95C #C1CB87

Accessibility & contrast

On white

3.19
#8A9741 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#8A9741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9741
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9741#FFFFFF#000000##000000
##8A97411.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09038
Deuteranopia (green-blind)
#9F9146
Tritanopia (blue-blind)
#928F84
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9741;
/* rgb */ color: rgb(138, 151, 65);
/* oklch */ color: oklch(64.8% 0.112 116.8);
Tailwind
colors: {
  custom: {
    50: '#aeb579',
    500: '#8a9741',
    950: '#000000',
  },
}
SCSS
$custom: #8a9741;
$custom-light: #aeb579;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9741",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 65
  },
  "hsl": {
    "h": 69.07,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.1121,
    "h": 116.8
  },
  "luminance": 0.27918
}

Semantic roles & 50–950 ramp

primary
#8A9741
secondary
#867EB6
accent
#58D06A
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9741

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

Preview Lab → · Contrast checker → · Palette generator →

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