#8A8536#8A8536

#8A8536 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.101 H 105.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A8536
RGBrgb(138, 133, 54)
HSLhsl(56, 44%, 38%)
HSVhsv(56, 61%, 54%)
CMYKcmyk(0%, 3.6%, 60.9%, 45.9%)
CIE-LABlab(54.50, -8.79, 42.22)
CIE-LCHlch(54.50, 43.13, 101.76°)
OKLaboklab(60.47% -0.0272 0.0971)
OKLCHoklch(60.47% 0.101 105.6)
XYZxyz(19.5353, 22.4453, 6.7927)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8536 #363B8A
analogous
#8A5B36 #8A8536 #658A36
triadic
#8A8536 #368A85 #85368A
tetradic
#8A8536 #368A5B #363B8A #8A3665
square
#8A8536 #368A5B #363B8A #8A3665
split-complementary
#8A8536 #36658A #5B368A
monochromatic
#323014 #5E5B25 #8A8536 #B6AF47 #C8C372

Accessibility & contrast

On white

3.83
#8A8536 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A8536 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8536
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8536#FFFFFF#000000##000000
##8A85361.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802D
Deuteranopia (green-blind)
#92843A
Tritanopia (blue-blind)
#947D74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8536;
/* rgb */ color: rgb(138, 133, 54);
/* oklch */ color: oklch(60.5% 0.101 105.6);
Tailwind
colors: {
  custom: {
    50: '#aea870',
    500: '#8a8536',
    950: '#000000',
  },
}
SCSS
$custom: #8a8536;
$custom-light: #aea870;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8536",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 54
  },
  "hsl": {
    "h": 56.429,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60469,
    "c": 0.10087,
    "h": 105.6
  },
  "luminance": 0.22445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8536

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

Preview Lab → · Contrast checker → · Palette generator →

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