#8B8625#8B8625

#8B8625 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.115 H 106.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B8625
RGBrgb(139, 134, 37)
HSLhsl(57, 58%, 35%)
HSVhsv(57, 73%, 55%)
CMYKcmyk(0%, 3.6%, 73.4%, 45.5%)
CIE-LABlab(54.73, -9.96, 49.87)
CIE-LCHlch(54.73, 50.85, 101.29°)
OKLaboklab(60.64% -0.0325 0.1104)
OKLCHoklch(60.64% 0.115 106.4)
XYZxyz(19.5073, 22.6734, 5.0988)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8625 #252A8B
analogous
#8B5325 #8B8625 #5D8B25
triadic
#8B8625 #258B86 #86258B
tetradic
#8B8625 #258B53 #252A8B #8B255D
square
#8B8625 #258B53 #252A8B #8B255D
split-complementary
#8B8625 #255D8B #53258B
monochromatic
#2A290B #5B5718 #8B8625 #BBB532 #D3CD58

Accessibility & contrast

On white

3.79
#8B8625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8B8625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8625
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8625#FFFFFF#000000##000000
##8B86251.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#957D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8625;
/* rgb */ color: rgb(139, 134, 37);
/* oklch */ color: oklch(60.6% 0.115 106.4);
Tailwind
colors: {
  custom: {
    50: '#b0a967',
    500: '#8b8625',
    950: '#000000',
  },
}
SCSS
$custom: #8b8625;
$custom-light: #b0a967;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8625",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 57.059,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.11513,
    "h": 106.4
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#8B8625
secondary
#555AB7
accent
#4EE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8625

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

Preview Lab → · Contrast checker → · Palette generator →

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