#8F771E#8F771E

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

Color values

HEX#8F771E
RGBrgb(143, 119, 30)
HSLhsl(47, 65%, 34%)
HSVhsv(47, 79%, 56%)
CMYKcmyk(0%, 16.8%, 79%, 43.9%)
CIE-LABlab(50.84, -0.11, 48.95)
CIE-LCHlch(50.84, 48.95, 90.13°)
OKLaboklab(57.62% -0.0056 0.1069)
OKLCHoklch(57.62% 0.107 93)
XYZxyz(18.1599, 19.1281, 3.9636)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F771E #1E368F
analogous
#8F3F1E #8F771E #6F8F1E
triadic
#8F771E #1E8F77 #771E8F
tetradic
#8F771E #1E8F3F #1E368F #8F1E6F
square
#8F771E #1E8F3F #1E368F #8F1E6F
split-complementary
#8F771E #1E6F8F #3F1E8F
monochromatic
#2A2309 #5C4D13 #8F771E #C2A129 #DABC4E

Accessibility & contrast

On white

4.35
#8F771E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8F771E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F771E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F771E#FFFFFF#000000##000000
##8F771E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#9B6D66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f771e;
/* rgb */ color: rgb(143, 119, 30);
/* oklch */ color: oklch(57.6% 0.107 93.0);
Tailwind
colors: {
  custom: {
    50: '#b49d61',
    500: '#8f771e',
    950: '#000000',
  },
}
SCSS
$custom: #8f771e;
$custom-light: #b49d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f771e",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 47.257,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.10705,
    "h": 93
  },
  "luminance": 0.19127
}

Semantic roles & 50–950 ramp

primary
#8F771E
secondary
#4C64BC
accent
#63E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #8F771E

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

Preview Lab → · Contrast checker → · Palette generator →

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