#8A8D32#8A8D32

#8A8D32 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.113 H 111.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8D32
RGBrgb(138, 141, 50)
HSLhsl(62, 48%, 37%)
HSVhsv(62, 65%, 55%)
CMYKcmyk(2.1%, 0%, 64.5%, 44.7%)
CIE-LABlab(56.77, -13.39, 46.51)
CIE-LCHlch(56.77, 48.40, 106.06°)
OKLaboklab(62.27% -0.0407 0.1056)
OKLCHoklch(62.27% 0.113 111.1)
XYZxyz(20.5824, 24.6838, 6.6972)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D32 #35328D
analogous
#8D6332 #8A8D32 #5D8D32
triadic
#8A8D32 #328A8D #8D328A
tetradic
#8A8D32 #328D63 #35328D #8D325D
square
#8A8D32 #328D63 #35328D #8D325D
split-complementary
#8A8D32 #325D8D #63328D
monochromatic
#323312 #5E6022 #8A8D32 #B6BA42 #C8CC6E

Accessibility & contrast

On white

3.54
#8A8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8A8D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D32
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D32#FFFFFF#000000##000000
##8A8D321.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988726
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d32;
/* rgb */ color: rgb(138, 141, 50);
/* oklch */ color: oklch(62.3% 0.113 111.1);
Tailwind
colors: {
  custom: {
    50: '#afae6f',
    500: '#8a8d32',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d32;
$custom-light: #afae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d32",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 61.978,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62268,
    "c": 0.1132,
    "h": 111.1
  },
  "luminance": 0.24683
}

Semantic roles & 50–950 ramp

primary
#8A8D32
secondary
#6A68B3
accent
#51D755
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8D32

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

Preview Lab → · Contrast checker → · Palette generator →

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