#8F891E#8F891E

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

Color values

HEX#8F891E
RGBrgb(143, 137, 30)
HSLhsl(57, 65%, 34%)
HSVhsv(57, 79%, 56%)
CMYKcmyk(0%, 4.2%, 79%, 43.9%)
CIE-LABlab(55.91, -10.07, 53.60)
CIE-LCHlch(55.91, 54.54, 100.64°)
OKLaboklab(61.65% -0.0337 0.1168)
OKLCHoklch(61.65% 0.122 106.1)
XYZxyz(20.5086, 23.8255, 4.7465)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F891E #1E248F
analogous
#8F511E #8F891E #5D8F1E
triadic
#8F891E #1E8F89 #891E8F
tetradic
#8F891E #1E8F51 #1E248F #8F1E5D
square
#8F891E #1E8F51 #1E248F #8F1E5D
split-complementary
#8F891E #1E5D8F #511E8F
monochromatic
#2A2809 #5C5913 #8F891E #C2B929 #DAD24E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F891E#FFFFFF#000000##000000
##8F891E1.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)
#958402
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f891e;
/* rgb */ color: rgb(143, 137, 30);
/* oklch */ color: oklch(61.6% 0.122 106.1);
Tailwind
colors: {
  custom: {
    50: '#b3ab64',
    500: '#8f891e',
    950: '#000000',
  },
}
SCSS
$custom: #8f891e;
$custom-light: #b3ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f891e",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 56.814,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.1216,
    "h": 106.1
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

primary
#8F891E
secondary
#4C52BC
accent
#48E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F891E

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

Preview Lab → · Contrast checker → · Palette generator →

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