#8F792F#8F792F

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

Color values

HEX#8F792F
RGBrgb(143, 121, 47)
HSLhsl(46, 51%, 37%)
HSVhsv(46, 67%, 56%)
CMYKcmyk(0%, 15.4%, 67.1%, 43.9%)
CIE-LABlab(51.52, -0.34, 42.43)
CIE-LCHlch(51.52, 42.43, 90.45°)
OKLaboklab(58.2% -0.0042 0.0964)
OKLCHoklch(58.2% 0.096 92.5)
XYZxyz(18.6791, 19.7206, 5.5114)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F792F #2F458F
analogous
#8F492F #8F792F #758F2F
triadic
#8F792F #2F8F79 #792F8F
tetradic
#8F792F #2F8F49 #2F458F #8F2F75
square
#8F792F #2F8F49 #2F458F #8F2F75
split-complementary
#8F792F #2F758F #492F8F
monochromatic
#332B11 #615220 #8F792F #BDA03E #CEB76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F792F#FFFFFF#000000##000000
##8F792F1.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)
#867726
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#9A7069
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f792f;
/* rgb */ color: rgb(143, 121, 47);
/* oklch */ color: oklch(58.2% 0.096 92.5);
Tailwind
colors: {
  custom: {
    50: '#b39f6b',
    500: '#8f792f',
    950: '#000000',
  },
}
SCSS
$custom: #8f792f;
$custom-light: #b39f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f792f",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 46.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.09646,
    "h": 92.5
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#8F792F
secondary
#6577B5
accent
#6EDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8F792F

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

Preview Lab → · Contrast checker → · Palette generator →

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