#8A8632#8A8632

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

Color values

HEX#8A8632
RGBrgb(138, 134, 50)
HSLhsl(57, 47%, 37%)
HSVhsv(57, 64%, 54%)
CMYKcmyk(0%, 2.9%, 63.8%, 45.9%)
CIE-LABlab(54.75, -9.63, 44.36)
CIE-LCHlch(54.75, 45.39, 102.24°)
OKLaboklab(60.66% -0.0301 0.1011)
OKLCHoklch(60.66% 0.105 106.6)
XYZxyz(19.5827, 22.6844, 6.3640)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8632 #32368A
analogous
#8A5A32 #8A8632 #628A32
triadic
#8A8632 #328A86 #86328A
tetradic
#8A8632 #328A5A #32368A #8A3262
square
#8A8632 #328A5A #32368A #8A3262
split-complementary
#8A8632 #32628A #5A328A
monochromatic
#302F11 #5D5A22 #8A8632 #B7B242 #CAC66C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8632#FFFFFF#000000##000000
##8A86321.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)
#918128
Deuteranopia (green-blind)
#938537
Tritanopia (blue-blind)
#947D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8632;
/* rgb */ color: rgb(138, 134, 50);
/* oklch */ color: oklch(60.7% 0.105 106.6);
Tailwind
colors: {
  custom: {
    50: '#afa96e',
    500: '#8a8632',
    950: '#000000',
  },
}
SCSS
$custom: #8a8632;
$custom-light: #afa96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8632",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 50
  },
  "hsl": {
    "h": 57.273,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.10546,
    "h": 106.6
  },
  "luminance": 0.22684
}

Semantic roles & 50–950 ramp

primary
#8A8632
secondary
#666AB2
accent
#57D651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8632

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

Preview Lab → · Contrast checker → · Palette generator →

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