#8F792A#8F792A

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

Color values

HEX#8F792A
RGBrgb(143, 121, 42)
HSLhsl(47, 55%, 36%)
HSVhsv(47, 71%, 56%)
CMYKcmyk(0%, 15.4%, 70.6%, 43.9%)
CIE-LABlab(51.48, -0.64, 44.67)
CIE-LCHlch(51.48, 44.67, 90.82°)
OKLaboklab(58.15% -0.0057 0.1002)
OKLCHoklch(58.15% 0.1 93.3)
XYZxyz(18.5839, 19.6826, 5.0103)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F792A #2A408F
analogous
#8F472A #8F792A #738F2A
triadic
#8F792A #2A8F79 #792A8F
tetradic
#8F792A #2A8F47 #2A408F #8F2A73
square
#8F792A #2A8F47 #2A408F #8F2A73
split-complementary
#8F792A #2A738F #472A8F
monochromatic
#30290E #60511C #8F792A #BEA138 #D1B962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F792A#FFFFFF#000000##000000
##8F792A1.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)
#867720
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#9B6F69
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f792a;
/* rgb */ color: rgb(143, 121, 42);
/* oklch */ color: oklch(58.2% 0.100 93.3);
Tailwind
colors: {
  custom: {
    50: '#b39f68',
    500: '#8f792a',
    950: '#000000',
  },
}
SCSS
$custom: #8f792a;
$custom-light: #b39f68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f792a",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 46.931,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.1004,
    "h": 93.3
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#8F792A
secondary
#5E71B7
accent
#6ADE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F792A

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

Preview Lab → · Contrast checker → · Palette generator →

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