#8B8124#8B8124

#8B8124 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.111 H 103.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8B8124
RGBrgb(139, 129, 36)
HSLhsl(54, 59%, 34%)
HSVhsv(54, 74%, 55%)
CMYKcmyk(0%, 7.2%, 74.1%, 45.5%)
CIE-LABlab(53.30, -7.27, 48.86)
CIE-LCHlch(53.30, 49.40, 98.47°)
OKLaboklab(59.49% -0.0251 0.1081)
OKLCHoklch(59.49% 0.111 103)
XYZxyz(18.8170, 21.3176, 4.7923)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8124 #242E8B
analogous
#8B4E24 #8B8124 #628B24
triadic
#8B8124 #248B81 #81248B
tetradic
#8B8124 #248B4E #242E8B #8B2462
square
#8B8124 #248B4E #242E8B #8B2462
split-complementary
#8B8124 #24628B #4E248B
monochromatic
#2A270B #5A5417 #8B8124 #BCAE31 #D3C756

Accessibility & contrast

On white

3.99
#8B8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8B8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8124
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8124#FFFFFF#000000##000000
##8B81241.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D14
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#96786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b8124;
/* rgb */ color: rgb(139, 129, 36);
/* oklch */ color: oklch(59.5% 0.111 103.0);
Tailwind
colors: {
  custom: {
    50: '#b0a566',
    500: '#8b8124',
    950: '#000000',
  },
}
SCSS
$custom: #8b8124;
$custom-light: #b0a566;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8124",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 54.175,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.11099,
    "h": 103
  },
  "luminance": 0.21317
}

Semantic roles & 50–950 ramp

primary
#8B8124
secondary
#535DB7
accent
#55E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8124

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

Preview Lab → · Contrast checker → · Palette generator →

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