#8A8335#8A8335

#8A8335 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.100 H 104.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A8335
RGBrgb(138, 131, 53)
HSLhsl(55, 45%, 37%)
HSVhsv(55, 62%, 54%)
CMYKcmyk(0%, 5.1%, 61.6%, 45.9%)
CIE-LABlab(53.91, -7.77, 42.06)
CIE-LCHlch(53.91, 42.77, 100.47°)
OKLaboklab(60% -0.0244 0.0966)
OKLCHoklch(60% 0.1 104.2)
XYZxyz(19.2408, 21.8936, 6.5798)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8335 #353C8A
analogous
#8A5935 #8A8335 #668A35
triadic
#8A8335 #358A83 #83358A
tetradic
#8A8335 #358A59 #353C8A #8A3566
square
#8A8335 #358A59 #353C8A #8A3566
split-complementary
#8A8335 #35668A #59358A
monochromatic
#322F13 #5E5924 #8A8335 #B6AD46 #C8C171

Accessibility & contrast

On white

3.90
#8A8335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A8335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8335
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8335#FFFFFF#000000##000000
##8A83351.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2C
Deuteranopia (green-blind)
#908339
Tritanopia (blue-blind)
#947B72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8335;
/* rgb */ color: rgb(138, 131, 53);
/* oklch */ color: oklch(60.0% 0.100 104.2);
Tailwind
colors: {
  custom: {
    50: '#aea670',
    500: '#8a8335',
    950: '#000000',
  },
}
SCSS
$custom: #8a8335;
$custom-light: #aea670;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8335",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 55.059,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.09968,
    "h": 104.2
  },
  "luminance": 0.21893
}

Semantic roles & 50–950 ramp

primary
#8A8335
secondary
#6A70B1
accent
#5ED454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8335

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

Preview Lab → · Contrast checker → · Palette generator →

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