#8F771D#8F771D

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

Color values

HEX#8F771D
RGBrgb(143, 119, 29)
HSLhsl(47, 66%, 34%)
HSVhsv(47, 80%, 56%)
CMYKcmyk(0%, 16.8%, 79.7%, 43.9%)
CIE-LABlab(50.83, -0.15, 49.31)
CIE-LCHlch(50.83, 49.31, 90.18°)
OKLaboklab(57.62% -0.0058 0.1075)
OKLCHoklch(57.62% 0.108 93.1)
XYZxyz(18.1473, 19.1231, 3.8974)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F771D #1D358F
analogous
#8F3E1D #8F771D #6E8F1D
triadic
#8F771D #1D8F77 #771D8F
tetradic
#8F771D #1D8F3E #1D358F #8F1D6E
square
#8F771D #1D8F3E #1D358F #8F1D6E
split-complementary
#8F771D #1D6E8F #3E1D8F
monochromatic
#292208 #5C4D13 #8F771D #C2A127 #DBBD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F771D#FFFFFF#000000##000000
##8F771D1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f771d;
/* rgb */ color: rgb(143, 119, 29);
/* oklch */ color: oklch(57.6% 0.108 93.1);
Tailwind
colors: {
  custom: {
    50: '#b49d61',
    500: '#8f771d',
    950: '#000000',
  },
}
SCSS
$custom: #8f771d;
$custom-light: #b49d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f771d",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 47.368,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57615,
    "c": 0.10762,
    "h": 93.1
  },
  "luminance": 0.19122
}

Semantic roles & 50–950 ramp

primary
#8F771D
secondary
#4B63BD
accent
#63E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #8F771D

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

Preview Lab → · Contrast checker → · Palette generator →

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