#8F772A#8F772A

#8F772A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.7% C 0.099 H 91.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F772A
RGBrgb(143, 119, 42)
HSLhsl(46, 55%, 36%)
HSVhsv(46, 71%, 56%)
CMYKcmyk(0%, 16.8%, 70.6%, 43.9%)
CIE-LABlab(50.92, 0.49, 44.10)
CIE-LCHlch(50.92, 44.10, 89.36°)
OKLaboklab(57.72% -0.0025 0.099)
OKLCHoklch(57.72% 0.099 91.4)
XYZxyz(18.3434, 19.2015, 4.9301)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F772A #2A428F
analogous
#8F452A #8F772A #758F2A
triadic
#8F772A #2A8F77 #772A8F
tetradic
#8F772A #2A8F45 #2A428F #8F2A75
square
#8F772A #2A8F45 #2A428F #8F2A75
split-complementary
#8F772A #2A758F #452A8F
monochromatic
#30280E #60501C #8F772A #BE9E38 #D1B762

Accessibility & contrast

On white

4.34
#8F772A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8F772A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F772A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F772A#FFFFFF#000000##000000
##8F772A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847520
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#9B6D67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f772a;
/* rgb */ color: rgb(143, 119, 42);
/* oklch */ color: oklch(57.7% 0.099 91.4);
Tailwind
colors: {
  custom: {
    50: '#b39d68',
    500: '#8f772a',
    950: '#000000',
  },
}
SCSS
$custom: #8f772a;
$custom-light: #b39d68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f772a",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 45.743,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57716,
    "c": 0.09906,
    "h": 91.4
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#8F772A
secondary
#5E73B7
accent
#6DDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F772A

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

Preview Lab → · Contrast checker → · Palette generator →

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