#8A8133#8A8133

#8A8133 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.099 H 102.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A8133
RGBrgb(138, 129, 51)
HSLhsl(54, 46%, 37%)
HSVhsv(54, 63%, 54%)
CMYKcmyk(0%, 6.5%, 63%, 45.9%)
CIE-LABlab(53.32, -6.82, 42.36)
CIE-LCHlch(53.32, 42.90, 99.14°)
OKLaboklab(59.53% -0.0219 0.097)
OKLCHoklch(59.53% 0.099 102.8)
XYZxyz(18.9297, 21.3435, 6.2539)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8133 #333C8A
analogous
#8A5633 #8A8133 #688A33
triadic
#8A8133 #338A81 #81338A
tetradic
#8A8133 #338A56 #333C8A #8A3368
square
#8A8133 #338A56 #333C8A #8A3368
split-complementary
#8A8133 #33688A #56338A
monochromatic
#312D12 #5D5722 #8A8133 #B7AB44 #C9C06E

Accessibility & contrast

On white

3.99
#8A8133 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8A8133 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8133
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8133#FFFFFF#000000##000000
##8A81331.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2A
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#947870
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8133;
/* rgb */ color: rgb(138, 129, 51);
/* oklch */ color: oklch(59.5% 0.099 102.8);
Tailwind
colors: {
  custom: {
    50: '#afa56e',
    500: '#8a8133',
    950: '#000000',
  },
}
SCSS
$custom: #8a8133;
$custom-light: #afa56e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8133",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 51
  },
  "hsl": {
    "h": 53.793,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.09944,
    "h": 102.8
  },
  "luminance": 0.21343
}

Semantic roles & 50–950 ramp

primary
#8A8133
secondary
#676FB1
accent
#60D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8133

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

Preview Lab → · Contrast checker → · Palette generator →

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