#8B8926#8B8926

#8B8926 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.118 H 108.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8B8926
RGBrgb(139, 137, 38)
HSLhsl(59, 57%, 35%)
HSVhsv(59, 73%, 55%)
CMYKcmyk(0%, 1.4%, 72.7%, 45.5%)
CIE-LABlab(55.60, -11.53, 50.33)
CIE-LCHlch(55.60, 51.63, 102.90°)
OKLaboklab(61.33% -0.0368 0.1116)
OKLCHoklch(61.33% 0.118 108.3)
XYZxyz(19.9437, 23.5209, 5.3228)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8926 #26288B
analogous
#8B5726 #8B8926 #5B8B26
triadic
#8B8926 #268B89 #89268B
tetradic
#8B8926 #268B57 #26288B #8B265B
square
#8B8926 #268B57 #26288B #8B265B
split-complementary
#8B8926 #265B8B #57268B
monochromatic
#2B2A0C #5B5A19 #8B8926 #BBB833 #D2CF5A

Accessibility & contrast

On white

3.68
#8B8926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8B8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8926
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8926#FFFFFF#000000##000000
##8B89261.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958315
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#958076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b8926;
/* rgb */ color: rgb(139, 137, 38);
/* oklch */ color: oklch(61.3% 0.118 108.3);
Tailwind
colors: {
  custom: {
    50: '#b0ab68',
    500: '#8b8926',
    950: '#000000',
  },
}
SCSS
$custom: #8b8926;
$custom-light: #b0ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8926",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 58.812,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.11751,
    "h": 108.3
  },
  "luminance": 0.2352
}

Semantic roles & 50–950 ramp

primary
#8B8926
secondary
#5658B7
accent
#4BE047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8926

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

Preview Lab → · Contrast checker → · Palette generator →

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