#8A8537#8A8537

#8A8537 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.100 H 105.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A8537
RGBrgb(138, 133, 55)
HSLhsl(56, 43%, 38%)
HSVhsv(56, 60%, 54%)
CMYKcmyk(0%, 3.6%, 60.1%, 45.9%)
CIE-LABlab(54.51, -8.71, 41.76)
CIE-LCHlch(54.51, 42.66, 101.79°)
OKLaboklab(60.48% -0.0269 0.0963)
OKLCHoklch(60.48% 0.1 105.6)
XYZxyz(19.5590, 22.4548, 6.9176)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8537 #373C8A
analogous
#8A5C37 #8A8537 #658A37
triadic
#8A8537 #378A85 #85378A
tetradic
#8A8537 #378A5C #373C8A #8A3765
square
#8A8537 #378A5C #373C8A #8A3765
split-complementary
#8A8537 #37658A #5C378A
monochromatic
#323114 #5E5B26 #8A8537 #B6AF48 #C8C374

Accessibility & contrast

On white

3.82
#8A8537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A8537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8537
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8537#FFFFFF#000000##000000
##8A85371.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802F
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#947D74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8537;
/* rgb */ color: rgb(138, 133, 55);
/* oklch */ color: oklch(60.5% 0.100 105.6);
Tailwind
colors: {
  custom: {
    50: '#aea871',
    500: '#8a8537',
    950: '#000000',
  },
}
SCSS
$custom: #8a8537;
$custom-light: #aea871;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8537",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 56.386,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.09996,
    "h": 105.6
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#8A8537
secondary
#6D71B0
accent
#5DD355
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8537

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

Preview Lab → · Contrast checker → · Palette generator →

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