#8F7A2A#8F7A2A

#8F7A2A is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.4% C 0.101 H 94.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8F7A2A
RGBrgb(143, 122, 42)
HSLhsl(48, 55%, 36%)
HSVhsv(48, 71%, 56%)
CMYKcmyk(0%, 14.7%, 70.6%, 43.9%)
CIE-LABlab(51.75, -1.21, 44.96)
CIE-LCHlch(51.75, 44.97, 91.54°)
OKLaboklab(58.37% -0.0073 0.1009)
OKLCHoklch(58.37% 0.101 94.2)
XYZxyz(18.7061, 19.9269, 5.0510)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7A2A #2A3F8F
analogous
#8F482A #8F7A2A #728F2A
triadic
#8F7A2A #2A8F7A #7A2A8F
tetradic
#8F7A2A #2A8F48 #2A3F8F #8F2A72
square
#8F7A2A #2A8F48 #2A3F8F #8F2A72
split-complementary
#8F7A2A #2A728F #482A8F
monochromatic
#30290E #60521C #8F7A2A #BEA238 #D1BA62

Accessibility & contrast

On white

4.21
#8F7A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8F7A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7A2A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7A2A#FFFFFF#000000##000000
##8F7A2A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#9B706A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f7a2a;
/* rgb */ color: rgb(143, 122, 42);
/* oklch */ color: oklch(58.4% 0.101 94.2);
Tailwind
colors: {
  custom: {
    50: '#b3a068',
    500: '#8f7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f7a2a;
$custom-light: #b3a068;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7a2a",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 47.525,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.10112,
    "h": 94.2
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#8F7A2A
secondary
#5E70B7
accent
#69DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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