#8A8736#8A8736

#8A8736 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.103 H 107.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A8736
RGBrgb(138, 135, 54)
HSLhsl(58, 44%, 38%)
HSVhsv(58, 61%, 54%)
CMYKcmyk(0%, 2.2%, 60.9%, 45.9%)
CIE-LABlab(55.07, -9.88, 42.86)
CIE-LCHlch(55.07, 43.98, 102.98°)
OKLaboklab(60.93% -0.0303 0.0985)
OKLCHoklch(60.93% 0.103 107.1)
XYZxyz(19.8117, 22.9982, 6.8848)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8736 #36398A
analogous
#8A5D36 #8A8736 #638A36
triadic
#8A8736 #368A87 #87368A
tetradic
#8A8736 #368A5D #36398A #8A3663
square
#8A8736 #368A5D #36398A #8A3663
split-complementary
#8A8736 #36638A #5D368A
monochromatic
#323114 #5E5C25 #8A8736 #B6B247 #C8C572

Accessibility & contrast

On white

3.75
#8A8736 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A8736 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8736
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8736#FFFFFF#000000##000000
##8A87361.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822D
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#937F76
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8736;
/* rgb */ color: rgb(138, 135, 54);
/* oklch */ color: oklch(60.9% 0.103 107.1);
Tailwind
colors: {
  custom: {
    50: '#aea971',
    500: '#8a8736',
    950: '#000000',
  },
}
SCSS
$custom: #8a8736;
$custom-light: #aea971;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8736",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 54
  },
  "hsl": {
    "h": 57.857,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.10304,
    "h": 107.1
  },
  "luminance": 0.22998
}

Semantic roles & 50–950 ramp

primary
#8A8736
secondary
#6B6EB1
accent
#59D354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8736

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

Preview Lab → · Contrast checker → · Palette generator →

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