#8A8A32#8A8A32

#8A8A32 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.110 H 109.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A8A32
RGBrgb(138, 138, 50)
HSLhsl(60, 47%, 37%)
HSVhsv(60, 64%, 54%)
CMYKcmyk(0%, 0%, 63.8%, 45.9%)
CIE-LABlab(55.90, -11.79, 45.59)
CIE-LCHlch(55.90, 47.09, 104.50°)
OKLaboklab(61.58% -0.0362 0.1037)
OKLCHoklch(61.58% 0.11 109.2)
XYZxyz(20.1461, 23.8111, 6.5518)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A32 #32328A
analogous
#8A5E32 #8A8A32 #5E8A32
triadic
#8A8A32 #328A8A #8A328A
tetradic
#8A8A32 #328A5E #32328A #8A325E
square
#8A8A32 #328A5E #32328A #8A325E
split-complementary
#8A8A32 #325E8A #5E328A
monochromatic
#303011 #5D5D22 #8A8A32 #B7B742 #CACA6C

Accessibility & contrast

On white

3.64
#8A8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A32
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A32#FFFFFF#000000##000000
##8A8A321.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958427
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#938178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a32;
/* rgb */ color: rgb(138, 138, 50);
/* oklch */ color: oklch(61.6% 0.110 109.2);
Tailwind
colors: {
  custom: {
    50: '#afac6e',
    500: '#8a8a32',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a32;
$custom-light: #afac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a32",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.10982,
    "h": 109.2
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

primary
#8A8A32
secondary
#6666B2
accent
#51D651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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