#8A8324#8A8324

#8A8324 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.8% C 0.113 H 105.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A8324
RGBrgb(138, 131, 36)
HSLhsl(56, 59%, 34%)
HSVhsv(56, 74%, 54%)
CMYKcmyk(0%, 5.1%, 73.9%, 45.9%)
CIE-LABlab(53.78, -8.83, 49.29)
CIE-LCHlch(53.78, 50.08, 100.16°)
OKLaboklab(59.85% -0.0294 0.1091)
OKLCHoklch(59.85% 0.113 105.1)
XYZxyz(18.9167, 21.7640, 4.8731)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8324 #242B8A
analogous
#8A5024 #8A8324 #5E8A24
triadic
#8A8324 #248A83 #83248A
tetradic
#8A8324 #248A50 #242B8A #8A245E
square
#8A8324 #248A50 #242B8A #8A245E
split-complementary
#8A8324 #245E8A #50248A
monochromatic
#29270B #595517 #8A8324 #BBB131 #D3CA56

Accessibility & contrast

On white

3.92
#8A8324 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A8324 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8324
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8324#FFFFFF#000000##000000
##8A83241.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E13
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#957A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8324;
/* rgb */ color: rgb(138, 131, 36);
/* oklch */ color: oklch(59.8% 0.113 105.1);
Tailwind
colors: {
  custom: {
    50: '#afa666',
    500: '#8a8324',
    950: '#000000',
  },
}
SCSS
$custom: #8a8324;
$custom-light: #afa666;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8324",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 55.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.11296,
    "h": 105.1
  },
  "luminance": 0.21763
}

Semantic roles & 50–950 ramp

primary
#8A8324
secondary
#535AB7
accent
#51E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8324

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

Preview Lab → · Contrast checker → · Palette generator →

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