#8A8B36#8A8B36

#8A8B36 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.108 H 109.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A8B36
RGBrgb(138, 139, 54)
HSLhsl(61, 44%, 38%)
HSVhsv(61, 61%, 55%)
CMYKcmyk(0.7%, 0%, 61.2%, 45.5%)
CIE-LABlab(56.22, -12.04, 44.12)
CIE-LCHlch(56.22, 45.73, 105.26°)
OKLaboklab(61.85% -0.0364 0.1012)
OKLCHoklch(61.85% 0.108 109.8)
XYZxyz(20.3803, 24.1354, 7.0743)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B36 #37368B
analogous
#8B6136 #8A8B36 #5F8B36
triadic
#8A8B36 #368A8B #8B368A
tetradic
#8A8B36 #368B61 #37368B #8B365F
square
#8A8B36 #368B61 #37368B #8B365F
split-complementary
#8A8B36 #365F8B #61368B
monochromatic
#323314 #5E5F25 #8A8B36 #B6B747 #C8C973

Accessibility & contrast

On white

3.60
#8A8B36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8A8B36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B36
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B36#FFFFFF#000000##000000
##8A8B361.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96852C
Deuteranopia (green-blind)
#96883B
Tritanopia (blue-blind)
#938379
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8b36;
/* rgb */ color: rgb(138, 139, 54);
/* oklch */ color: oklch(61.8% 0.108 109.8);
Tailwind
colors: {
  custom: {
    50: '#aeac71',
    500: '#8a8b36',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b36;
$custom-light: #aeac71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b36",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 60.706,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.10752,
    "h": 109.8
  },
  "luminance": 0.24135
}

Semantic roles & 50–950 ramp

primary
#8A8B36
secondary
#6D6CB1
accent
#54D456
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8B36

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

Preview Lab → · Contrast checker → · Palette generator →

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