#8A9232#8A9232

#8A9232 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.4% C 0.119 H 113.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A9232
RGBrgb(138, 146, 50)
HSLhsl(65, 49%, 38%)
HSVhsv(65, 66%, 57%)
CMYKcmyk(5.5%, 0%, 65.8%, 42.7%)
CIE-LABlab(58.22, -16.03, 48.04)
CIE-LCHlch(58.22, 50.64, 108.45°)
OKLaboklab(63.43% -0.0481 0.1089)
OKLCHoklch(63.43% 0.119 113.8)
XYZxyz(21.3364, 26.1917, 6.9485)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9232 #3A3292
analogous
#926A32 #8A9232 #5A9232
triadic
#8A9232 #328A92 #92328A
tetradic
#8A9232 #32926A #3A3292 #92325A
square
#8A9232 #32926A #3A3292 #92325A
split-complementary
#8A9232 #325A92 #6A3292
monochromatic
#343713 #5F6422 #8A9232 #B4BF43 #C6CE70

Accessibility & contrast

On white

3.37
#8A9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8A9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9232
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9232#FFFFFF#000000##000000
##8A92321.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B25
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#938A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9232;
/* rgb */ color: rgb(138, 146, 50);
/* oklch */ color: oklch(63.4% 0.119 113.8);
Tailwind
colors: {
  custom: {
    50: '#afb16f',
    500: '#8a9232',
    950: '#000000',
  },
}
SCSS
$custom: #8a9232;
$custom-light: #afb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9232",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 65,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63429,
    "c": 0.11902,
    "h": 113.8
  },
  "luminance": 0.26191
}

Semantic roles & 50–950 ramp

primary
#8A9232
secondary
#706AB6
accent
#4FD95B
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9232

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

Preview Lab → · Contrast checker → · Palette generator →

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