#8A8836#8A8836

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

Color values

HEX#8A8836
RGBrgb(138, 136, 54)
HSLhsl(59, 44%, 38%)
HSVhsv(59, 61%, 54%)
CMYKcmyk(0%, 1.4%, 60.9%, 45.9%)
CIE-LABlab(55.36, -10.42, 43.17)
CIE-LCHlch(55.36, 44.41, 103.57°)
OKLaboklab(61.16% -0.0319 0.0992)
OKLCHoklch(61.16% 0.104 107.8)
XYZxyz(19.9519, 23.2785, 6.9315)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8836 #36388A
analogous
#8A5E36 #8A8836 #628A36
triadic
#8A8836 #368A88 #88368A
tetradic
#8A8836 #368A5E #36388A #8A3662
square
#8A8836 #368A5E #36388A #8A3662
split-complementary
#8A8836 #36628A #5E368A
monochromatic
#323114 #5E5D25 #8A8836 #B6B347 #C8C672

Accessibility & contrast

On white

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

On black

5.66
#8A8836 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8836
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8836#FFFFFF#000000##000000
##8A88361.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8836;
/* rgb */ color: rgb(138, 136, 54);
/* oklch */ color: oklch(61.2% 0.104 107.8);
Tailwind
colors: {
  custom: {
    50: '#aeaa71',
    500: '#8a8836',
    950: '#000000',
  },
}
SCSS
$custom: #8a8836;
$custom-light: #aeaa71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8836",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 54
  },
  "hsl": {
    "h": 58.571,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.10414,
    "h": 107.8
  },
  "luminance": 0.23278
}

Semantic roles & 50–950 ramp

primary
#8A8836
secondary
#6B6DB1
accent
#57D354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8836

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

Preview Lab → · Contrast checker → · Palette generator →

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