#8F792E#8F792E

#8F792E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.2% C 0.097 H 92.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F792E
RGBrgb(143, 121, 46)
HSLhsl(46, 51%, 37%)
HSVhsv(46, 68%, 56%)
CMYKcmyk(0%, 15.4%, 67.8%, 43.9%)
CIE-LABlab(51.51, -0.40, 42.89)
CIE-LCHlch(51.51, 42.89, 90.53°)
OKLaboklab(58.19% -0.0045 0.0972)
OKLCHoklch(58.19% 0.097 92.7)
XYZxyz(18.6591, 19.7127, 5.4063)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F792E #2E448F
analogous
#8F492E #8F792E #758F2E
triadic
#8F792E #2E8F79 #792E8F
tetradic
#8F792E #2E8F49 #2E448F #8F2E75
square
#8F792E #2E8F49 #2E448F #8F2E75
split-complementary
#8F792E #2E758F #492E8F
monochromatic
#322B10 #61521F #8F792E #BDA03D #CFB869

Accessibility & contrast

On white

4.25
#8F792E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8F792E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F792E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F792E#FFFFFF#000000##000000
##8F792E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#9A6F69
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f792e;
/* rgb */ color: rgb(143, 121, 46);
/* oklch */ color: oklch(58.2% 0.097 92.7);
Tailwind
colors: {
  custom: {
    50: '#b39f6b',
    500: '#8f792e',
    950: '#000000',
  },
}
SCSS
$custom: #8f792e;
$custom-light: #b39f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f792e",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 46.392,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.09728,
    "h": 92.7
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#8F792E
secondary
#6376B6
accent
#6DDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8F792E

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

Preview Lab → · Contrast checker → · Palette generator →

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