#8A8036#8A8036

#8A8036 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.096 H 101.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8A8036
RGBrgb(138, 128, 54)
HSLhsl(53, 44%, 38%)
HSVhsv(53, 61%, 54%)
CMYKcmyk(0%, 7.2%, 60.9%, 45.9%)
CIE-LABlab(53.07, -6.04, 40.64)
CIE-LCHlch(53.07, 41.08, 98.45°)
OKLaboklab(59.33% -0.0194 0.0938)
OKLCHoklch(59.33% 0.096 101.7)
XYZxyz(18.8669, 21.1087, 6.5699)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8036 #36408A
analogous
#8A5636 #8A8036 #6A8A36
triadic
#8A8036 #368A80 #80368A
tetradic
#8A8036 #368A56 #36408A #8A366A
square
#8A8036 #368A56 #36408A #8A366A
split-complementary
#8A8036 #366A8A #56368A
monochromatic
#322E14 #5E5725 #8A8036 #B6A947 #C8BE72

Accessibility & contrast

On white

4.02
#8A8036 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8A8036 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8036
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8036#FFFFFF#000000##000000
##8A80361.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2E
Deuteranopia (green-blind)
#8E813A
Tritanopia (blue-blind)
#947870
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8036;
/* rgb */ color: rgb(138, 128, 54);
/* oklch */ color: oklch(59.3% 0.096 101.7);
Tailwind
colors: {
  custom: {
    50: '#aea470',
    500: '#8a8036',
    950: '#000000',
  },
}
SCSS
$custom: #8a8036;
$custom-light: #aea470;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8036",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 54
  },
  "hsl": {
    "h": 52.857,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.09573,
    "h": 101.7
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#8A8036
secondary
#6B74B1
accent
#63D354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8036

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

Preview Lab → · Contrast checker → · Palette generator →

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