#8B8A26#8B8A26

#8B8A26 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.119 H 108.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8B8A26
RGBrgb(139, 138, 38)
HSLhsl(59, 57%, 35%)
HSVhsv(59, 73%, 55%)
CMYKcmyk(0%, 0.7%, 72.7%, 45.5%)
CIE-LABlab(55.89, -12.06, 50.61)
CIE-LCHlch(55.89, 52.03, 103.41°)
OKLaboklab(61.56% -0.0383 0.1122)
OKLCHoklch(61.56% 0.119 108.9)
XYZxyz(20.0865, 23.8065, 5.3704)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8A26 #26278B
analogous
#8B5826 #8B8A26 #5A8B26
triadic
#8B8A26 #268B8A #8A268B
tetradic
#8B8A26 #268B58 #26278B #8B265A
square
#8B8A26 #268B58 #26278B #8B265A
split-complementary
#8B8A26 #265A8B #58268B
monochromatic
#2B2B0C #5B5A19 #8B8A26 #BBBA33 #D2D15A

Accessibility & contrast

On white

3.65
#8B8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8B8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8A26
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8A26#FFFFFF#000000##000000
##8B8A261.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968414
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#958177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8b8a26;
/* rgb */ color: rgb(139, 138, 38);
/* oklch */ color: oklch(61.6% 0.119 108.9);
Tailwind
colors: {
  custom: {
    50: '#b0ab68',
    500: '#8b8a26',
    950: '#000000',
  },
}
SCSS
$custom: #8b8a26;
$custom-light: #b0ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8a26",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 59.406,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61563,
    "c": 0.11855,
    "h": 108.9
  },
  "luminance": 0.23806
}

Semantic roles & 50–950 ramp

primary
#8B8A26
secondary
#5657B7
accent
#49E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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