#8B8924#8B8924

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

Color values

HEX#8B8924
RGBrgb(139, 137, 36)
HSLhsl(59, 59%, 34%)
HSVhsv(59, 74%, 55%)
CMYKcmyk(0%, 1.4%, 74.1%, 45.5%)
CIE-LABlab(55.59, -11.63, 51.07)
CIE-LCHlch(55.59, 52.38, 102.83°)
OKLaboklab(61.32% -0.0373 0.1128)
OKLCHoklch(61.32% 0.119 108.3)
XYZxyz(19.9123, 23.5083, 5.1574)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8924 #24268B
analogous
#8B5624 #8B8924 #5A8B24
triadic
#8B8924 #248B89 #89248B
tetradic
#8B8924 #248B56 #24268B #8B245A
square
#8B8924 #248B56 #24268B #8B245A
split-complementary
#8B8924 #245A8B #56248B
monochromatic
#2A290B #5A5917 #8B8924 #BCB931 #D3D156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8924#FFFFFF#000000##000000
##8B89241.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)
#958311
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#958076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b8924;
/* rgb */ color: rgb(139, 137, 36);
/* oklch */ color: oklch(61.3% 0.119 108.3);
Tailwind
colors: {
  custom: {
    50: '#b0ab67',
    500: '#8b8924',
    950: '#000000',
  },
}
SCSS
$custom: #8b8924;
$custom-light: #b0ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8924",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 58.835,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.11879,
    "h": 108.3
  },
  "luminance": 0.23508
}

Semantic roles & 50–950 ramp

primary
#8B8924
secondary
#5355B7
accent
#49E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8924

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

Preview Lab → · Contrast checker → · Palette generator →

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