#8A8835#8A8835

#8A8835 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.105 H 107.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A8835
RGBrgb(138, 136, 53)
HSLhsl(59, 45%, 37%)
HSVhsv(59, 62%, 54%)
CMYKcmyk(0%, 1.4%, 61.6%, 45.9%)
CIE-LABlab(55.35, -10.50, 43.63)
CIE-LCHlch(55.35, 44.87, 103.53°)
OKLaboklab(61.15% -0.0322 0.1)
OKLCHoklch(61.15% 0.105 107.8)
XYZxyz(19.9286, 23.2692, 6.8091)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8835 #35378A
analogous
#8A5D35 #8A8835 #628A35
triadic
#8A8835 #358A88 #88358A
tetradic
#8A8835 #358A5D #35378A #8A3562
square
#8A8835 #358A5D #35378A #8A3562
split-complementary
#8A8835 #35628A #5D358A
monochromatic
#323113 #5E5C24 #8A8835 #B6B446 #C8C671

Accessibility & contrast

On white

3.71
#8A8835 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A8835 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8835
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8835#FFFFFF#000000##000000
##8A88351.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832B
Deuteranopia (green-blind)
#94863A
Tritanopia (blue-blind)
#938076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8835;
/* rgb */ color: rgb(138, 136, 53);
/* oklch */ color: oklch(61.1% 0.105 107.8);
Tailwind
colors: {
  custom: {
    50: '#aeaa70',
    500: '#8a8835',
    950: '#000000',
  },
}
SCSS
$custom: #8a8835;
$custom-light: #aeaa70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8835",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 53
  },
  "hsl": {
    "h": 58.588,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.10503,
    "h": 107.8
  },
  "luminance": 0.23269
}

Semantic roles & 50–950 ramp

primary
#8A8835
secondary
#6A6CB1
accent
#57D454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8835

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

Preview Lab → · Contrast checker → · Palette generator →

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