#8F7526#8F7526

#8F7526 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.2% C 0.101 H 90.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F7526
RGBrgb(143, 117, 38)
HSLhsl(45, 58%, 35%)
HSVhsv(45, 73%, 56%)
CMYKcmyk(0%, 18.2%, 73.4%, 43.9%)
CIE-LABlab(50.34, 1.40, 45.26)
CIE-LCHlch(50.34, 45.28, 88.23°)
OKLaboklab(57.25% -0.0004 0.1007)
OKLCHoklch(57.25% 0.101 90.2)
XYZxyz(18.0398, 18.7033, 4.4933)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7526 #26408F
analogous
#8F4026 #8F7526 #748F26
triadic
#8F7526 #268F75 #75268F
tetradic
#8F7526 #268F40 #26408F #8F2674
square
#8F7526 #268F40 #26408F #8F2674
split-complementary
#8F7526 #26748F #40268F
monochromatic
#2E260C #5F4D19 #8F7526 #BF9D33 #D4B65C

Accessibility & contrast

On white

4.43
#8F7526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8F7526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7526
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7526#FFFFFF#000000##000000
##8F75261.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#9B6B65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7526;
/* rgb */ color: rgb(143, 117, 38);
/* oklch */ color: oklch(57.2% 0.101 90.2);
Tailwind
colors: {
  custom: {
    50: '#b39c65',
    500: '#8f7526',
    950: '#000000',
  },
}
SCSS
$custom: #8f7526;
$custom-light: #b39c65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7526",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 45.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.10073,
    "h": 90.2
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#8F7526
secondary
#5870B9
accent
#6DE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7526

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

Preview Lab → · Contrast checker → · Palette generator →

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