#8B8925#8B8925

#8B8925 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#8B8925
RGBrgb(139, 137, 37)
HSLhsl(59, 58%, 35%)
HSVhsv(59, 73%, 55%)
CMYKcmyk(0%, 1.4%, 73.4%, 45.5%)
CIE-LABlab(55.60, -11.58, 50.70)
CIE-LCHlch(55.60, 52.01, 102.86°)
OKLaboklab(61.33% -0.037 0.1122)
OKLCHoklch(61.33% 0.118 108.3)
XYZxyz(19.9278, 23.5145, 5.2389)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8925 #25278B
analogous
#8B5625 #8B8925 #5A8B25
triadic
#8B8925 #258B89 #89258B
tetradic
#8B8925 #258B56 #25278B #8B255A
square
#8B8925 #258B56 #25278B #8B255A
split-complementary
#8B8925 #255A8B #56258B
monochromatic
#2A2A0B #5B5918 #8B8925 #BBB932 #D3D058

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8b8925;
/* rgb */ color: rgb(139, 137, 37);
/* oklch */ color: oklch(61.3% 0.118 108.3);
Tailwind
colors: {
  custom: {
    50: '#b0ab67',
    500: '#8b8925',
    950: '#000000',
  },
}
SCSS
$custom: #8b8925;
$custom-light: #b0ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8925",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 58.824,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.11816,
    "h": 108.3
  },
  "luminance": 0.23514
}

Semantic roles & 50–950 ramp

primary
#8B8925
secondary
#5557B7
accent
#4AE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8925

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

Preview Lab → · Contrast checker → · Palette generator →

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