#8F7E2E#8F7E2E

#8F7E2E is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.101 H 97.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8F7E2E
RGBrgb(143, 126, 46)
HSLhsl(49, 51%, 37%)
HSVhsv(49, 68%, 56%)
CMYKcmyk(0%, 11.9%, 67.8%, 43.9%)
CIE-LABlab(52.91, -3.21, 44.36)
CIE-LCHlch(52.91, 44.48, 94.14°)
OKLaboklab(59.29% -0.0126 0.1003)
OKLCHoklch(59.29% 0.101 97.2)
XYZxyz(19.2826, 20.9595, 5.6142)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E2E #2E3F8F
analogous
#8F4E2E #8F7E2E #6F8F2E
triadic
#8F7E2E #2E8F7E #7E2E8F
tetradic
#8F7E2E #2E8F4E #2E3F8F #8F2E6F
square
#8F7E2E #2E8F4E #2E3F8F #8F2E6F
split-complementary
#8F7E2E #2E6F8F #4E2E8F
monochromatic
#322C10 #61551F #8F7E2E #BDA73D #CFBD69

Accessibility & contrast

On white

4.04
#8F7E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8F7E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E2E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E2E#FFFFFF#000000##000000
##8F7E2E1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#9A756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e2e;
/* rgb */ color: rgb(143, 126, 46);
/* oklch */ color: oklch(59.3% 0.101 97.2);
Tailwind
colors: {
  custom: {
    50: '#b3a36b',
    500: '#8f7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e2e;
$custom-light: #b3a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e2e",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 49.485,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59294,
    "c": 0.10109,
    "h": 97.2
  },
  "luminance": 0.20959
}

Semantic roles & 50–950 ramp

primary
#8F7E2E
secondary
#6372B6
accent
#66DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8F7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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