#8D7B25#8D7B25

#8D7B25 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.105 H 97.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D7B25
RGBrgb(141, 123, 37)
HSLhsl(50, 58%, 35%)
HSVhsv(50, 74%, 55%)
CMYKcmyk(0%, 12.8%, 73.8%, 44.7%)
CIE-LABlab(51.80, -2.97, 47.06)
CIE-LCHlch(51.80, 47.16, 93.61°)
OKLaboklab(58.35% -0.0128 0.1044)
OKLCHoklch(58.35% 0.105 97)
XYZxyz(18.4023, 19.9632, 4.6339)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B25 #25378D
analogous
#8D4725 #8D7B25 #6B8D25
triadic
#8D7B25 #258D7B #7B258D
tetradic
#8D7B25 #258D47 #25378D #8D256B
square
#8D7B25 #258D47 #25378D #8D256B
split-complementary
#8D7B25 #256B8D #47258D
monochromatic
#2C260C #5D5118 #8D7B25 #BDA532 #D3BE59

Accessibility & contrast

On white

4.21
#8D7B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D7B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B25#FFFFFF#000000##000000
##8D7B251.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887818
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#98716A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b25;
/* rgb */ color: rgb(141, 123, 37);
/* oklch */ color: oklch(58.3% 0.105 97.0);
Tailwind
colors: {
  custom: {
    50: '#b2a066',
    500: '#8d7b25',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b25;
$custom-light: #b2a066;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b25",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 49.615,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.10521,
    "h": 97
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#8D7B25
secondary
#5667B8
accent
#61E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7B25

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

Preview Lab → · Contrast checker → · Palette generator →

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