#8A8936#8A8936

#8A8936 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.105 H 108.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A8936
RGBrgb(138, 137, 54)
HSLhsl(59, 44%, 38%)
HSVhsv(59, 61%, 54%)
CMYKcmyk(0%, 0.7%, 60.9%, 45.9%)
CIE-LABlab(55.65, -10.96, 43.49)
CIE-LCHlch(55.65, 44.85, 104.15°)
OKLaboklab(61.39% -0.0334 0.0998)
OKLCHoklch(61.39% 0.105 108.5)
XYZxyz(20.0934, 23.5615, 6.9787)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8936 #36378A
analogous
#8A5F36 #8A8936 #618A36
triadic
#8A8936 #368A89 #89368A
tetradic
#8A8936 #368A5F #36378A #8A3661
square
#8A8936 #368A5F #36378A #8A3661
split-complementary
#8A8936 #36618A #5F368A
monochromatic
#323214 #5E5D25 #8A8936 #B6B547 #C8C772

Accessibility & contrast

On white

3.68
#8A8936 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8A8936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8936
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8936#FFFFFF#000000##000000
##8A89361.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842D
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#938177
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8936;
/* rgb */ color: rgb(138, 137, 54);
/* oklch */ color: oklch(61.4% 0.105 108.5);
Tailwind
colors: {
  custom: {
    50: '#aeab71',
    500: '#8a8936',
    950: '#000000',
  },
}
SCSS
$custom: #8a8936;
$custom-light: #aeab71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8936",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 54
  },
  "hsl": {
    "h": 59.286,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61385,
    "c": 0.10525,
    "h": 108.5
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

primary
#8A8936
secondary
#6B6CB1
accent
#56D354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8936

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

Preview Lab → · Contrast checker → · Palette generator →

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