#8A8237#8A8237

#8A8237 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.097 H 103.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A8237
RGBrgb(138, 130, 55)
HSLhsl(54, 43%, 38%)
HSVhsv(54, 60%, 54%)
CMYKcmyk(0%, 5.8%, 60.1%, 45.9%)
CIE-LABlab(53.65, -7.07, 40.80)
CIE-LCHlch(53.65, 41.41, 99.83°)
OKLaboklab(59.8% -0.0222 0.0942)
OKLCHoklch(59.8% 0.097 103.2)
XYZxyz(19.1541, 21.6451, 6.7827)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8237 #373F8A
analogous
#8A5837 #8A8237 #688A37
triadic
#8A8237 #378A82 #82378A
tetradic
#8A8237 #378A58 #373F8A #8A3768
square
#8A8237 #378A58 #373F8A #8A3768
split-complementary
#8A8237 #37688A #58378A
monochromatic
#323014 #5E5926 #8A8237 #B6AB48 #C8BF74

Accessibility & contrast

On white

3.94
#8A8237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8A8237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8237
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8237#FFFFFF#000000##000000
##8A82371.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2F
Deuteranopia (green-blind)
#8F823B
Tritanopia (blue-blind)
#947A72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8237;
/* rgb */ color: rgb(138, 130, 55);
/* oklch */ color: oklch(59.8% 0.097 103.2);
Tailwind
colors: {
  custom: {
    50: '#aea671',
    500: '#8a8237',
    950: '#000000',
  },
}
SCSS
$custom: #8a8237;
$custom-light: #aea671;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8237",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 54.217,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59798,
    "c": 0.09681,
    "h": 103.2
  },
  "luminance": 0.21644
}

Semantic roles & 50–950 ramp

primary
#8A8237
secondary
#6D73B0
accent
#61D355
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8237

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

Preview Lab → · Contrast checker → · Palette generator →

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