#8F893B#8F893B

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

Color values

HEX#8F893B
RGBrgb(143, 137, 59)
HSLhsl(56, 42%, 40%)
HSVhsv(56, 59%, 56%)
CMYKcmyk(0%, 4.2%, 58.7%, 43.9%)
CIE-LABlab(56.14, -8.35, 41.78)
CIE-LCHlch(56.14, 42.60, 101.31°)
OKLaboklab(61.9% -0.0257 0.0967)
OKLCHoklch(61.9% 0.1 104.9)
XYZxyz(21.0634, 24.0474, 7.6689)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F893B #3B418F
analogous
#8F5F3B #8F893B #6B8F3B
triadic
#8F893B #3B8F89 #893B8F
tetradic
#8F893B #3B8F5F #3B418F #8F3B6B
square
#8F893B #3B8F5F #3B418F #8F3B6B
split-complementary
#8F893B #3B6B8F #5F3B8F
monochromatic
#383617 #645F29 #8F893B #B7B050 #C9C37C

Accessibility & contrast

On white

3.61
#8F893B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F893B#FFFFFF#000000##000000
##8F893B1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948433
Deuteranopia (green-blind)
#96883F
Tritanopia (blue-blind)
#998178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f893b;
/* rgb */ color: rgb(143, 137, 59);
/* oklch */ color: oklch(61.9% 0.100 104.9);
Tailwind
colors: {
  custom: {
    50: '#b2ab74',
    500: '#8f893b',
    950: '#000000',
  },
}
SCSS
$custom: #8f893b;
$custom-light: #b2ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#8f893b",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 55.714,
    "s": 41.584,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.10008,
    "h": 104.9
  },
  "luminance": 0.24047
}

Semantic roles & 50–950 ramp

primary
#8F893B
secondary
#7378B2
accent
#5FD156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F893B

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

Preview Lab → · Contrast checker → · Palette generator →

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