#8F892D#8F892D

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

Color values

HEX#8F892D
RGBrgb(143, 137, 45)
HSLhsl(56, 52%, 37%)
HSVhsv(56, 69%, 56%)
CMYKcmyk(0%, 4.2%, 68.5%, 43.9%)
CIE-LABlab(56.01, -9.33, 48.02)
CIE-LCHlch(56.01, 48.92, 100.99°)
OKLaboklab(61.76% -0.0301 0.1079)
OKLCHoklch(61.76% 0.112 105.6)
XYZxyz(20.7478, 23.9212, 6.0065)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F892D #2D338F
analogous
#8F582D #8F892D #648F2D
triadic
#8F892D #2D8F89 #892D8F
tetradic
#8F892D #2D8F58 #2D338F #8F2D64
square
#8F892D #2D8F58 #2D338F #8F2D64
split-complementary
#8F892D #2D648F #582D8F
monochromatic
#323010 #605C1E #8F892D #BEB63C #CFC967

Accessibility & contrast

On white

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

On black

5.78
#8F892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F892D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F892D#FFFFFF#000000##000000
##8F892D1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f892d;
/* rgb */ color: rgb(143, 137, 45);
/* oklch */ color: oklch(61.8% 0.112 105.6);
Tailwind
colors: {
  custom: {
    50: '#b3ab6b',
    500: '#8f892d',
    950: '#000000',
  },
}
SCSS
$custom: #8f892d;
$custom-light: #b3ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f892d",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 56.327,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.11197,
    "h": 105.6
  },
  "luminance": 0.2392
}

Semantic roles & 50–950 ramp

primary
#8F892D
secondary
#6267B6
accent
#55DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F892D

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

Preview Lab → · Contrast checker → · Palette generator →

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