#8F892B#8F892B

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

Color values

HEX#8F892B
RGBrgb(143, 137, 43)
HSLhsl(56, 54%, 36%)
HSVhsv(56, 70%, 56%)
CMYKcmyk(0%, 4.2%, 69.9%, 43.9%)
CIE-LABlab(55.99, -9.44, 48.84)
CIE-LCHlch(55.99, 49.74, 100.94°)
OKLaboklab(61.74% -0.0306 0.1092)
OKLCHoklch(61.74% 0.113 105.7)
XYZxyz(20.7102, 23.9061, 5.8085)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F892B #2B318F
analogous
#8F572B #8F892B #638F2B
triadic
#8F892B #2B8F89 #892B8F
tetradic
#8F892B #2B8F57 #2B318F #8F2B63
square
#8F892B #2B8F57 #2B318F #8F2B63
split-complementary
#8F892B #2B638F #572B8F
monochromatic
#312F0F #605C1D #8F892B #BEB639 #D0CA64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F892B#FFFFFF#000000##000000
##8F892B1.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)
#95841D
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f892b;
/* rgb */ color: rgb(143, 137, 43);
/* oklch */ color: oklch(61.7% 0.113 105.7);
Tailwind
colors: {
  custom: {
    50: '#b3ab6a',
    500: '#8f892b',
    950: '#000000',
  },
}
SCSS
$custom: #8f892b;
$custom-light: #b3ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f892b",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 56.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.11345,
    "h": 105.7
  },
  "luminance": 0.23905
}

Semantic roles & 50–950 ramp

primary
#8F892B
secondary
#5F64B7
accent
#53DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F892B

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

Preview Lab → · Contrast checker → · Palette generator →

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