#8B7D25#8B7D25

#8B7D25 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.107 H 100.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B7D25
RGBrgb(139, 125, 37)
HSLhsl(52, 58%, 35%)
HSVhsv(52, 73%, 55%)
CMYKcmyk(0%, 10.1%, 73.4%, 45.5%)
CIE-LABlab(52.16, -5.01, 47.36)
CIE-LCHlch(52.16, 47.62, 96.04°)
OKLaboklab(58.59% -0.0185 0.1051)
OKLCHoklch(58.59% 0.107 100)
XYZxyz(18.3159, 20.2906, 4.7016)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7D25 #25338B
analogous
#8B4A25 #8B7D25 #668B25
triadic
#8B7D25 #258B7D #7D258B
tetradic
#8B7D25 #258B4A #25338B #8B2566
square
#8B7D25 #258B4A #25338B #8B2566
split-complementary
#8B7D25 #25668B #4A258B
monochromatic
#2A260B #5B5218 #8B7D25 #BBA832 #D3C258

Accessibility & contrast

On white

4.15
#8B7D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8B7D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7D25
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7D25#FFFFFF#000000##000000
##8B7D251.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897917
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7d25;
/* rgb */ color: rgb(139, 125, 37);
/* oklch */ color: oklch(58.6% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#b0a266',
    500: '#8b7d25',
    950: '#000000',
  },
}
SCSS
$custom: #8b7d25;
$custom-light: #b0a266;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7d25",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 51.765,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58593,
    "c": 0.10675,
    "h": 100
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#8B7D25
secondary
#5562B7
accent
#5CE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7D25

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

Preview Lab → · Contrast checker → · Palette generator →

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