#8A8235#8A8235

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

Color values

HEX#8A8235
RGBrgb(138, 130, 53)
HSLhsl(54, 45%, 37%)
HSVhsv(54, 62%, 54%)
CMYKcmyk(0%, 5.8%, 61.6%, 45.9%)
CIE-LABlab(53.63, -7.22, 41.74)
CIE-LCHlch(53.63, 42.36, 99.81°)
OKLaboklab(59.78% -0.0229 0.096)
OKLCHoklch(59.78% 0.099 103.4)
XYZxyz(19.1071, 21.6263, 6.5353)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8235 #353D8A
analogous
#8A5835 #8A8235 #688A35
triadic
#8A8235 #358A82 #82358A
tetradic
#8A8235 #358A58 #353D8A #8A3568
square
#8A8235 #358A58 #353D8A #8A3568
split-complementary
#8A8235 #35688A #58358A
monochromatic
#322F13 #5E5824 #8A8235 #B6AC46 #C8C071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8235#FFFFFF#000000##000000
##8A82351.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)
#8D7E2D
Deuteranopia (green-blind)
#908239
Tritanopia (blue-blind)
#947A71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8235;
/* rgb */ color: rgb(138, 130, 53);
/* oklch */ color: oklch(59.8% 0.099 103.4);
Tailwind
colors: {
  custom: {
    50: '#aea670',
    500: '#8a8235',
    950: '#000000',
  },
}
SCSS
$custom: #8a8235;
$custom-light: #aea670;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8235",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 54.353,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59776,
    "c": 0.09866,
    "h": 103.4
  },
  "luminance": 0.21626
}

Semantic roles & 50–950 ramp

primary
#8A8235
secondary
#6A71B1
accent
#60D454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8235

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

Preview Lab → · Contrast checker → · Palette generator →

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