#8F771A#8F771A

#8F771A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.6% C 0.109 H 93.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F771A
RGBrgb(143, 119, 26)
HSLhsl(48, 69%, 33%)
HSVhsv(48, 82%, 56%)
CMYKcmyk(0%, 16.8%, 81.8%, 43.9%)
CIE-LABlab(50.81, -0.27, 50.35)
CIE-LCHlch(50.81, 50.35, 90.30°)
OKLaboklab(57.6% -0.0065 0.109)
OKLCHoklch(57.6% 0.109 93.4)
XYZxyz(18.1120, 19.1090, 3.7115)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F771A #1A328F
analogous
#8F3C1A #8F771A #6C8F1A
triadic
#8F771A #1A8F77 #771A8F
tetradic
#8F771A #1A8F3C #1A328F #8F1A6C
square
#8F771A #1A8F3C #1A328F #8F1A6C
split-complementary
#8F771A #1A6C8F #3C1A8F
monochromatic
#272107 #5B4C11 #8F771A #C3A223 #DDBE46

Accessibility & contrast

On white

4.36
#8F771A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F771A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F771A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F771A#FFFFFF#000000##000000
##8F771A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#9B6D66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f771a;
/* rgb */ color: rgb(143, 119, 26);
/* oklch */ color: oklch(57.6% 0.109 93.4);
Tailwind
colors: {
  custom: {
    50: '#b49d60',
    500: '#8f771a',
    950: '#000000',
  },
}
SCSS
$custom: #8f771a;
$custom-light: #b49d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f771a",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 47.692,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57596,
    "c": 0.10922,
    "h": 93.4
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#8F771A
secondary
#465FBF
accent
#60EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F771A

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

Preview Lab → · Contrast checker → · Palette generator →

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