#8F751F#8F751F

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

Color values

HEX#8F751F
RGBrgb(143, 117, 31)
HSLhsl(46, 64%, 34%)
HSVhsv(46, 78%, 56%)
CMYKcmyk(0%, 18.2%, 78.3%, 43.9%)
CIE-LABlab(50.29, 1.07, 48.07)
CIE-LCHlch(50.29, 48.08, 88.73°)
OKLaboklab(57.19% -0.0021 0.1052)
OKLCHoklch(57.19% 0.105 91.2)
XYZxyz(17.9373, 18.6623, 3.9535)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F751F #1F398F
analogous
#8F3D1F #8F751F #718F1F
triadic
#8F751F #1F8F75 #751F8F
tetradic
#8F751F #1F8F3D #1F398F #8F1F71
square
#8F751F #1F8F3D #1F398F #8F1F71
split-complementary
#8F751F #1F718F #3D1F8F
monochromatic
#2A2309 #5D4C14 #8F751F #C19E2A #D9B94F

Accessibility & contrast

On white

4.44
#8F751F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8F751F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F751F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F751F#FFFFFF#000000##000000
##8F751F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#9B6B64
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f751f;
/* rgb */ color: rgb(143, 117, 31);
/* oklch */ color: oklch(57.2% 0.105 91.2);
Tailwind
colors: {
  custom: {
    50: '#b49c62',
    500: '#8f751f',
    950: '#000000',
  },
}
SCSS
$custom: #8f751f;
$custom-light: #b49c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f751f",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 46.071,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.10524,
    "h": 91.2
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#8F751F
secondary
#4E67BC
accent
#67E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #8F751F

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

Preview Lab → · Contrast checker → · Palette generator →

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