#8A8741#8A8741

#8A8741 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.1% C 0.092 H 106.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A8741
RGBrgb(138, 135, 65)
HSLhsl(58, 36%, 40%)
HSVhsv(58, 53%, 54%)
CMYKcmyk(0%, 2.2%, 52.9%, 45.9%)
CIE-LABlab(55.19, -8.96, 37.59)
CIE-LCHlch(55.19, 38.64, 103.41°)
OKLaboklab(61.06% -0.0264 0.0885)
OKLCHoklch(61.06% 0.092 106.6)
XYZxyz(20.0999, 23.1134, 8.4025)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8741 #41448A
analogous
#8A6241 #8A8741 #698A41
triadic
#8A8741 #418A87 #87418A
tetradic
#8A8741 #418A62 #41448A #8A4169
square
#8A8741 #418A62 #41448A #8A4169
split-complementary
#8A8741 #41698A #62418A
monochromatic
#37361A #605E2D #8A8741 #B0AD58 #C4C182

Accessibility & contrast

On white

3.73
#8A8741 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8741
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8741#FFFFFF#000000##000000
##8A87411.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823A
Deuteranopia (green-blind)
#938644
Tritanopia (blue-blind)
#937F77
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8741;
/* rgb */ color: rgb(138, 135, 65);
/* oklch */ color: oklch(61.1% 0.092 106.6);
Tailwind
colors: {
  custom: {
    50: '#aea978',
    500: '#8a8741',
    950: '#000000',
  },
}
SCSS
$custom: #8a8741;
$custom-light: #aea978;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8741",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 57.534,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.09236,
    "h": 106.6
  },
  "luminance": 0.23113
}

Semantic roles & 50–950 ramp

primary
#8A8741
secondary
#787BAE
accent
#60CC5C
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8741

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

Preview Lab → · Contrast checker → · Palette generator →

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