#8F893A#8F893A

#8F893A is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.9% C 0.101 H 104.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8F893A
RGBrgb(143, 137, 58)
HSLhsl(56, 42%, 39%)
HSVhsv(56, 59%, 56%)
CMYKcmyk(0%, 4.2%, 59.4%, 43.9%)
CIE-LABlab(56.12, -8.43, 42.25)
CIE-LCHlch(56.12, 43.08, 101.29°)
OKLaboklab(61.89% -0.026 0.0976)
OKLCHoklch(61.89% 0.101 104.9)
XYZxyz(21.0378, 24.0371, 7.5336)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F893A #3A408F
analogous
#8F5F3A #8F893A #6B8F3A
triadic
#8F893A #3A8F89 #893A8F
tetradic
#8F893A #3A8F5F #3A408F #8F3A6B
square
#8F893A #3A8F5F #3A408F #8F3A6B
split-complementary
#8F893A #3A6B8F #5F3A8F
monochromatic
#383617 #635F28 #8F893A #B7B04F #C9C47A

Accessibility & contrast

On white

3.62
#8F893A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8F893A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F893A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F893A#FFFFFF#000000##000000
##8F893A1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948432
Deuteranopia (green-blind)
#96883E
Tritanopia (blue-blind)
#998078
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f893a;
/* rgb */ color: rgb(143, 137, 58);
/* oklch */ color: oklch(61.9% 0.101 104.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab73',
    500: '#8f893a',
    950: '#000000',
  },
}
SCSS
$custom: #8f893a;
$custom-light: #b2ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#8f893a",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 55.765,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.10101,
    "h": 104.9
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#8F893A
secondary
#7277B3
accent
#5ED256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F893A

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

Preview Lab → · Contrast checker → · Palette generator →

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