#8A8532#8A8532

#8A8532 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.104 H 105.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A8532
RGBrgb(138, 133, 50)
HSLhsl(57, 47%, 37%)
HSVhsv(57, 64%, 54%)
CMYKcmyk(0%, 3.6%, 63.8%, 45.9%)
CIE-LABlab(54.46, -9.08, 44.05)
CIE-LCHlch(54.46, 44.98, 101.65°)
OKLaboklab(60.43% -0.0285 0.1004)
OKLCHoklch(60.43% 0.104 105.8)
XYZxyz(19.4452, 22.4093, 6.3181)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8532 #32378A
analogous
#8A5932 #8A8532 #638A32
triadic
#8A8532 #328A85 #85328A
tetradic
#8A8532 #328A59 #32378A #8A3263
square
#8A8532 #328A59 #32378A #8A3263
split-complementary
#8A8532 #32638A #59328A
monochromatic
#302E11 #5D5A22 #8A8532 #B7B042 #CAC56C

Accessibility & contrast

On white

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

On black

5.48
#8A8532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8532
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8532#FFFFFF#000000##000000
##8A85321.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#947C74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8532;
/* rgb */ color: rgb(138, 133, 50);
/* oklch */ color: oklch(60.4% 0.104 105.8);
Tailwind
colors: {
  custom: {
    50: '#afa86e',
    500: '#8a8532',
    950: '#000000',
  },
}
SCSS
$custom: #8a8532;
$custom-light: #afa86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8532",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 56.591,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.1044,
    "h": 105.8
  },
  "luminance": 0.22409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8532

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

Preview Lab → · Contrast checker → · Palette generator →

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