#8F7E32#8F7E32

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

Color values

HEX#8F7E32
RGBrgb(143, 126, 50)
HSLhsl(49, 48%, 38%)
HSVhsv(49, 65%, 56%)
CMYKcmyk(0%, 11.9%, 65%, 43.9%)
CIE-LABlab(52.94, -2.95, 42.55)
CIE-LCHlch(52.94, 42.65, 93.96°)
OKLaboklab(59.33% -0.0113 0.0971)
OKLCHoklch(59.33% 0.098 96.7)
XYZxyz(19.3651, 20.9926, 6.0489)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E32 #32438F
analogous
#8F4F32 #8F7E32 #728F32
triadic
#8F7E32 #328F7E #7E328F
tetradic
#8F7E32 #328F4F #32438F #8F3272
square
#8F7E32 #328F4F #32438F #8F3272
split-complementary
#8F7E32 #32728F #4F328F
monochromatic
#342E12 #625622 #8F7E32 #BCA642 #CDBB6F

Accessibility & contrast

On white

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

On black

5.20
#8F7E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E32
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E32#FFFFFF#000000##000000
##8F7E321.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B29
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#9A756E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e32;
/* rgb */ color: rgb(143, 126, 50);
/* oklch */ color: oklch(59.3% 0.098 96.7);
Tailwind
colors: {
  custom: {
    50: '#b2a36d',
    500: '#8f7e32',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e32;
$custom-light: #b2a36d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e32",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 49.032,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.09777,
    "h": 96.7
  },
  "luminance": 0.20992
}

Semantic roles & 50–950 ramp

primary
#8F7E32
secondary
#6876B4
accent
#69D850
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8F7E32

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

Preview Lab → · Contrast checker → · Palette generator →

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