#8F892E#8F892E

#8F892E is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.111 H 105.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8F892E
RGBrgb(143, 137, 46)
HSLhsl(56, 51%, 37%)
HSVhsv(56, 68%, 56%)
CMYKcmyk(0%, 4.2%, 67.8%, 43.9%)
CIE-LABlab(56.02, -9.27, 47.60)
CIE-LCHlch(56.02, 48.49, 101.02°)
OKLaboklab(61.77% -0.0298 0.1071)
OKLCHoklch(61.77% 0.111 105.5)
XYZxyz(20.7673, 23.9290, 6.1091)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F892E #2E348F
analogous
#8F592E #8F892E #648F2E
triadic
#8F892E #2E8F89 #892E8F
tetradic
#8F892E #2E8F59 #2E348F #8F2E64
square
#8F892E #2E8F59 #2E348F #8F2E64
split-complementary
#8F892E #2E648F #592E8F
monochromatic
#323010 #615D1F #8F892E #BDB53D #CFC869

Accessibility & contrast

On white

3.63
#8F892E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8F892E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F892E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F892E#FFFFFF#000000##000000
##8F892E1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958422
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#998076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f892e;
/* rgb */ color: rgb(143, 137, 46);
/* oklch */ color: oklch(61.8% 0.111 105.5);
Tailwind
colors: {
  custom: {
    50: '#b3ab6c',
    500: '#8f892e',
    950: '#000000',
  },
}
SCSS
$custom: #8f892e;
$custom-light: #b3ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f892e",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 56.289,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.11121,
    "h": 105.5
  },
  "luminance": 0.23928
}

Semantic roles & 50–950 ramp

primary
#8F892E
secondary
#6368B6
accent
#56DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F892E

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

Preview Lab → · Contrast checker → · Palette generator →

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