#8F7929#8F7929

#8F7929 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.101 H 93.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F7929
RGBrgb(143, 121, 41)
HSLhsl(47, 55%, 36%)
HSVhsv(47, 71%, 56%)
CMYKcmyk(0%, 15.4%, 71.3%, 43.9%)
CIE-LABlab(51.47, -0.70, 45.10)
CIE-LCHlch(51.47, 45.11, 90.89°)
OKLaboklab(58.14% -0.006 0.101)
OKLCHoklch(58.14% 0.101 93.4)
XYZxyz(18.5663, 19.6755, 4.9172)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7929 #293F8F
analogous
#8F4629 #8F7929 #728F29
triadic
#8F7929 #298F79 #79298F
tetradic
#8F7929 #298F46 #293F8F #8F2972
square
#8F7929 #298F46 #293F8F #8F2972
split-complementary
#8F7929 #29728F #46298F
monochromatic
#30290E #5F511B #8F7929 #BFA137 #D2B961

Accessibility & contrast

On white

4.26
#8F7929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8F7929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7929
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7929#FFFFFF#000000##000000
##8F79291.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771E
Deuteranopia (green-blind)
#8C7D2D
Tritanopia (blue-blind)
#9B6F69
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f7929;
/* rgb */ color: rgb(143, 121, 41);
/* oklch */ color: oklch(58.1% 0.101 93.4);
Tailwind
colors: {
  custom: {
    50: '#b39f68',
    500: '#8f7929',
    950: '#000000',
  },
}
SCSS
$custom: #8f7929;
$custom-light: #b39f68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7929",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 47.059,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.10115,
    "h": 93.4
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#8F7929
secondary
#5C70B7
accent
#69DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7929

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

Preview Lab → · Contrast checker → · Palette generator →

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