#8F792B#8F792B

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

Color values

HEX#8F792B
RGBrgb(143, 121, 43)
HSLhsl(47, 54%, 36%)
HSVhsv(47, 70%, 56%)
CMYKcmyk(0%, 15.4%, 69.9%, 43.9%)
CIE-LABlab(51.48, -0.58, 44.23)
CIE-LCHlch(51.48, 44.24, 90.76°)
OKLaboklab(58.16% -0.0054 0.0995)
OKLCHoklch(58.16% 0.1 93.1)
XYZxyz(18.6021, 19.6898, 5.1057)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F792B #2B418F
analogous
#8F472B #8F792B #738F2B
triadic
#8F792B #2B8F79 #792B8F
tetradic
#8F792B #2B8F47 #2B418F #8F2B73
square
#8F792B #2B8F47 #2B418F #8F2B73
split-complementary
#8F792B #2B738F #472B8F
monochromatic
#31290F #60511D #8F792B #BEA139 #D0B964

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F792B#FFFFFF#000000##000000
##8F792B1.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)
#867721
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#9B6F69
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f792b;
/* rgb */ color: rgb(143, 121, 43);
/* oklch */ color: oklch(58.2% 0.100 93.1);
Tailwind
colors: {
  custom: {
    50: '#b39f69',
    500: '#8f792b',
    950: '#000000',
  },
}
SCSS
$custom: #8f792b;
$custom-light: #b39f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8f792b",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 46.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.09965,
    "h": 93.1
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#8F792B
secondary
#5F72B7
accent
#6BDD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F792B

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

Preview Lab → · Contrast checker → · Palette generator →

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