#8F792C#8F792C

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

Color values

HEX#8F792C
RGBrgb(143, 121, 44)
HSLhsl(47, 53%, 37%)
HSVhsv(47, 69%, 56%)
CMYKcmyk(0%, 15.4%, 69.2%, 43.9%)
CIE-LABlab(51.49, -0.52, 43.79)
CIE-LCHlch(51.49, 43.79, 90.69°)
OKLaboklab(58.17% -0.0051 0.0987)
OKLCHoklch(58.17% 0.099 93)
XYZxyz(18.6206, 19.6973, 5.2035)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F792C #2C428F
analogous
#8F482C #8F792C #748F2C
triadic
#8F792C #2C8F79 #792C8F
tetradic
#8F792C #2C8F48 #2C428F #8F2C74
square
#8F792C #2C8F48 #2C428F #8F2C74
split-complementary
#8F792C #2C748F #482C8F
monochromatic
#312A0F #60511E #8F792C #BEA13A #D0B866

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F792C#FFFFFF#000000##000000
##8F792C1.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)
#867722
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#9B6F69
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f792c;
/* rgb */ color: rgb(143, 121, 44);
/* oklch */ color: oklch(58.2% 0.099 93.0);
Tailwind
colors: {
  custom: {
    50: '#b39f69',
    500: '#8f792c',
    950: '#000000',
  },
}
SCSS
$custom: #8f792c;
$custom-light: #b39f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8f792c",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 46.667,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.09887,
    "h": 93
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#8F792C
secondary
#6174B6
accent
#6CDC4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F792C

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

Preview Lab → · Contrast checker → · Palette generator →

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