#8A8B32#8A8B32

#8A8B32 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.111 H 109.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A8B32
RGBrgb(138, 139, 50)
HSLhsl(61, 47%, 37%)
HSVhsv(61, 64%, 55%)
CMYKcmyk(0.7%, 0%, 64%, 45.5%)
CIE-LABlab(56.19, -12.32, 45.90)
CIE-LCHlch(56.19, 47.52, 105.03°)
OKLaboklab(61.81% -0.0377 0.1043)
OKLCHoklch(61.81% 0.111 109.9)
XYZxyz(20.2902, 24.0993, 6.5998)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B32 #33328B
analogous
#8B6032 #8A8B32 #5E8B32
triadic
#8A8B32 #328A8B #8B328A
tetradic
#8A8B32 #328B60 #33328B #8B325E
square
#8A8B32 #328B60 #33328B #8B325E
split-complementary
#8A8B32 #325E8B #60328B
monochromatic
#313112 #5D5E22 #8A8B32 #B7B842 #C9CA6D

Accessibility & contrast

On white

3.61
#8A8B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8A8B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B32
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B32#FFFFFF#000000##000000
##8A8B321.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968527
Deuteranopia (green-blind)
#978838
Tritanopia (blue-blind)
#938378
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8b32;
/* rgb */ color: rgb(138, 139, 50);
/* oklch */ color: oklch(61.8% 0.111 109.9);
Tailwind
colors: {
  custom: {
    50: '#afac6e',
    500: '#8a8b32',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b32;
$custom-light: #afac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b32",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 60.674,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.11094,
    "h": 109.9
  },
  "luminance": 0.24099
}

Semantic roles & 50–950 ramp

primary
#8A8B32
secondary
#6767B2
accent
#51D753
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8B32

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

Preview Lab → · Contrast checker → · Palette generator →

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