#8F792D#8F792D

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

Color values

HEX#8F792D
RGBrgb(143, 121, 45)
HSLhsl(47, 52%, 37%)
HSVhsv(47, 69%, 56%)
CMYKcmyk(0%, 15.4%, 68.5%, 43.9%)
CIE-LABlab(51.50, -0.46, 43.34)
CIE-LCHlch(51.50, 43.34, 90.61°)
OKLaboklab(58.18% -0.0048 0.098)
OKLCHoklch(58.18% 0.098 92.8)
XYZxyz(18.6396, 19.7049, 5.3037)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F792D #2D438F
analogous
#8F482D #8F792D #748F2D
triadic
#8F792D #2D8F79 #792D8F
tetradic
#8F792D #2D8F48 #2D438F #8F2D74
square
#8F792D #2D8F48 #2D438F #8F2D74
split-complementary
#8F792D #2D748F #482D8F
monochromatic
#322A10 #60521E #8F792D #BEA03C #CFB867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F792D#FFFFFF#000000##000000
##8F792D1.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)
#867724
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#9B6F69
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f792d;
/* rgb */ color: rgb(143, 121, 45);
/* oklch */ color: oklch(58.2% 0.098 92.8);
Tailwind
colors: {
  custom: {
    50: '#b39f6a',
    500: '#8f792d',
    950: '#000000',
  },
}
SCSS
$custom: #8f792d;
$custom-light: #b39f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f792d",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 46.531,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.09808,
    "h": 92.8
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#8F792D
secondary
#6275B6
accent
#6CDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8F792D

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

Preview Lab → · Contrast checker → · Palette generator →

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