#8A8636#8A8636

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

Color values

HEX#8A8636
RGBrgb(138, 134, 54)
HSLhsl(57, 44%, 38%)
HSVhsv(57, 61%, 54%)
CMYKcmyk(0%, 2.9%, 60.9%, 45.9%)
CIE-LABlab(54.78, -9.34, 42.54)
CIE-LCHlch(54.78, 43.55, 102.38°)
OKLaboklab(60.7% -0.0288 0.0978)
OKLCHoklch(60.7% 0.102 106.4)
XYZxyz(19.6728, 22.7204, 6.8385)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8636 #363A8A
analogous
#8A5C36 #8A8636 #648A36
triadic
#8A8636 #368A86 #86368A
tetradic
#8A8636 #368A5C #363A8A #8A3664
square
#8A8636 #368A5C #363A8A #8A3664
split-complementary
#8A8636 #36648A #5C368A
monochromatic
#323114 #5E5B25 #8A8636 #B6B147 #C8C472

Accessibility & contrast

On white

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

On black

5.54
#8A8636 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8636
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8636#FFFFFF#000000##000000
##8A86361.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8636;
/* rgb */ color: rgb(138, 134, 54);
/* oklch */ color: oklch(60.7% 0.102 106.4);
Tailwind
colors: {
  custom: {
    50: '#aea970',
    500: '#8a8636',
    950: '#000000',
  },
}
SCSS
$custom: #8a8636;
$custom-light: #aea970;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8636",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 54
  },
  "hsl": {
    "h": 57.143,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.10195,
    "h": 106.4
  },
  "luminance": 0.2272
}

Semantic roles & 50–950 ramp

primary
#8A8636
secondary
#6B6FB1
accent
#5AD354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8636

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

Preview Lab → · Contrast checker → · Palette generator →

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