#8A8B41#8A8B41

#8A8B41 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.097 H 109.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A8B41
RGBrgb(138, 139, 65)
HSLhsl(61, 36%, 40%)
HSVhsv(61, 53%, 55%)
CMYKcmyk(0.7%, 0%, 53.2%, 45.5%)
CIE-LABlab(56.34, -11.13, 38.94)
CIE-LCHlch(56.34, 40.50, 105.95°)
OKLaboklab(61.97% -0.0326 0.0914)
OKLCHoklch(61.97% 0.097 109.6)
XYZxyz(20.6685, 24.2507, 8.5921)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B41 #42418B
analogous
#8B6741 #8A8B41 #658B41
triadic
#8A8B41 #418A8B #8B418A
tetradic
#8A8B41 #418B67 #42418B #8B4165
square
#8A8B41 #418B67 #42418B #8B4165
split-complementary
#8A8B41 #41658B #67418B
monochromatic
#37381A #61612D #8A8B41 #B0B158 #C4C582

Accessibility & contrast

On white

3.59
#8A8B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A8B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B41
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B41#FFFFFF#000000##000000
##8A8B411.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863A
Deuteranopia (green-blind)
#968845
Tritanopia (blue-blind)
#93837A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8b41;
/* rgb */ color: rgb(138, 139, 65);
/* oklch */ color: oklch(62.0% 0.097 109.6);
Tailwind
colors: {
  custom: {
    50: '#aeac78',
    500: '#8a8b41',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b41;
$custom-light: #aeac78;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b41",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 60.811,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.61974,
    "c": 0.09706,
    "h": 109.6
  },
  "luminance": 0.2425
}

Semantic roles & 50–950 ramp

primary
#8A8B41
secondary
#7979AF
accent
#5CCC5D
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8B41

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

Preview Lab → · Contrast checker → · Palette generator →

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