#8F891F#8F891F

#8F891F is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.121 H 106.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F891F
RGBrgb(143, 137, 31)
HSLhsl(57, 64%, 34%)
HSVhsv(57, 78%, 56%)
CMYKcmyk(0%, 4.2%, 78.3%, 43.9%)
CIE-LABlab(55.92, -10.03, 53.27)
CIE-LCHlch(55.92, 54.21, 100.67°)
OKLaboklab(61.66% -0.0335 0.1163)
OKLCHoklch(61.66% 0.121 106.1)
XYZxyz(20.5215, 23.8307, 4.8149)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F891F #1F258F
analogous
#8F511F #8F891F #5D8F1F
triadic
#8F891F #1F8F89 #891F8F
tetradic
#8F891F #1F8F51 #1F258F #8F1F5D
square
#8F891F #1F8F51 #1F258F #8F1F5D
split-complementary
#8F891F #1F5D8F #511F8F
monochromatic
#2A2909 #5D5914 #8F891F #C1B92A #D9D24F

Accessibility & contrast

On white

3.64
#8F891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8F891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F891F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F891F#FFFFFF#000000##000000
##8F891F1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958404
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f891f;
/* rgb */ color: rgb(143, 137, 31);
/* oklch */ color: oklch(61.7% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#b3ab64',
    500: '#8f891f',
    950: '#000000',
  },
}
SCSS
$custom: #8f891f;
$custom-light: #b3ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f891f",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 56.786,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.12107,
    "h": 106.1
  },
  "luminance": 0.2383
}

Semantic roles & 50–950 ramp

primary
#8F891F
secondary
#4E54BC
accent
#49E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F891F

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

Preview Lab → · Contrast checker → · Palette generator →

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