#8A8437#8A8437

#8A8437 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.099 H 104.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A8437
RGBrgb(138, 132, 55)
HSLhsl(56, 43%, 38%)
HSVhsv(56, 60%, 54%)
CMYKcmyk(0%, 4.3%, 60.1%, 45.9%)
CIE-LABlab(54.22, -8.17, 41.44)
CIE-LCHlch(54.22, 42.24, 101.15°)
OKLaboklab(60.25% -0.0253 0.0956)
OKLCHoklch(60.25% 0.099 104.8)
XYZxyz(19.4227, 22.1823, 6.8722)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8437 #373D8A
analogous
#8A5B37 #8A8437 #668A37
triadic
#8A8437 #378A84 #84378A
tetradic
#8A8437 #378A5B #373D8A #8A3766
square
#8A8437 #378A5B #373D8A #8A3766
split-complementary
#8A8437 #37668A #5B378A
monochromatic
#323014 #5E5A26 #8A8437 #B6AE48 #C8C174

Accessibility & contrast

On white

3.86
#8A8437 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A8437 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8437
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8437#FFFFFF#000000##000000
##8A84371.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#91833B
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8437;
/* rgb */ color: rgb(138, 132, 55);
/* oklch */ color: oklch(60.3% 0.099 104.8);
Tailwind
colors: {
  custom: {
    50: '#aea771',
    500: '#8a8437',
    950: '#000000',
  },
}
SCSS
$custom: #8a8437;
$custom-light: #aea771;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8437",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 55
  },
  "hsl": {
    "h": 55.663,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60253,
    "c": 0.09889,
    "h": 104.8
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#8A8437
secondary
#6D71B0
accent
#5ED355
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8437

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

Preview Lab → · Contrast checker → · Palette generator →

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