#8A8637#8A8637

#8A8637 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.101 H 106.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A8637
RGBrgb(138, 134, 55)
HSLhsl(57, 43%, 38%)
HSVhsv(57, 60%, 54%)
CMYKcmyk(0%, 2.9%, 60.1%, 45.9%)
CIE-LABlab(54.79, -9.26, 42.08)
CIE-LCHlch(54.79, 43.08, 102.41°)
OKLaboklab(60.71% -0.0284 0.097)
OKLCHoklch(60.71% 0.101 106.3)
XYZxyz(19.6965, 22.7299, 6.9635)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8637 #373B8A
analogous
#8A5C37 #8A8637 #658A37
triadic
#8A8637 #378A86 #86378A
tetradic
#8A8637 #378A5C #373B8A #8A3765
square
#8A8637 #378A5C #373B8A #8A3765
split-complementary
#8A8637 #37658A #5C378A
monochromatic
#323114 #5E5C26 #8A8637 #B6B048 #C8C474

Accessibility & contrast

On white

3.79
#8A8637 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A8637 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8637
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8637#FFFFFF#000000##000000
##8A86371.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812E
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#947E75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8637;
/* rgb */ color: rgb(138, 134, 55);
/* oklch */ color: oklch(60.7% 0.101 106.3);
Tailwind
colors: {
  custom: {
    50: '#aea971',
    500: '#8a8637',
    950: '#000000',
  },
}
SCSS
$custom: #8a8637;
$custom-light: #aea971;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8637",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 55
  },
  "hsl": {
    "h": 57.108,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.10104,
    "h": 106.3
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#8A8637
secondary
#6D70B0
accent
#5BD355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8637

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

Preview Lab → · Contrast checker → · Palette generator →

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