#8F761F#8F761F

#8F761F is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.106 H 92.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F761F
RGBrgb(143, 118, 31)
HSLhsl(47, 64%, 34%)
HSVhsv(47, 78%, 56%)
CMYKcmyk(0%, 17.5%, 78.3%, 43.9%)
CIE-LABlab(50.57, 0.50, 48.32)
CIE-LCHlch(50.57, 48.33, 89.41°)
OKLaboklab(57.41% -0.0038 0.1058)
OKLCHoklch(57.41% 0.106 92)
XYZxyz(18.0545, 18.8965, 3.9925)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F761F #1F388F
analogous
#8F3E1F #8F761F #708F1F
triadic
#8F761F #1F8F76 #761F8F
tetradic
#8F761F #1F8F3E #1F388F #8F1F70
square
#8F761F #1F8F3E #1F388F #8F1F70
split-complementary
#8F761F #1F708F #3E1F8F
monochromatic
#2A2309 #5D4C14 #8F761F #C1A02A #D9BA4F

Accessibility & contrast

On white

4.39
#8F761F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8F761F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F761F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F761F#FFFFFF#000000##000000
##8F761F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#9B6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f761f;
/* rgb */ color: rgb(143, 118, 31);
/* oklch */ color: oklch(57.4% 0.106 92.0);
Tailwind
colors: {
  custom: {
    50: '#b49d62',
    500: '#8f761f',
    950: '#000000',
  },
}
SCSS
$custom: #8f761f;
$custom-light: #b49d62;
$custom-dark: #000000;
JSON
{
  "hex": "#8f761f",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 46.607,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57409,
    "c": 0.10585,
    "h": 92
  },
  "luminance": 0.18895
}

Semantic roles & 50–950 ramp

primary
#8F761F
secondary
#4E66BC
accent
#66E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #8F761F

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

Preview Lab → · Contrast checker → · Palette generator →

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