#8F851E#8F851E

#8F851E is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.118 H 103.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8F851E
RGBrgb(143, 133, 30)
HSLhsl(55, 65%, 34%)
HSVhsv(55, 79%, 56%)
CMYKcmyk(0%, 7%, 79%, 43.9%)
CIE-LABlab(54.77, -7.90, 52.56)
CIE-LCHlch(54.77, 53.15, 98.55°)
OKLaboklab(60.74% -0.0276 0.1146)
OKLCHoklch(60.74% 0.118 103.6)
XYZxyz(19.9505, 22.7093, 4.5605)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F851E #1E288F
analogous
#8F4D1E #8F851E #618F1E
triadic
#8F851E #1E8F85 #851E8F
tetradic
#8F851E #1E8F4D #1E288F #8F1E61
square
#8F851E #1E8F4D #1E288F #8F1E61
split-complementary
#8F851E #1E618F #4D1E8F
monochromatic
#2A2709 #5C5613 #8F851E #C2B429 #DACD4E

Accessibility & contrast

On white

3.79
#8F851E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8F851E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F851E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F851E#FFFFFF#000000##000000
##8F851E1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928004
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#9A7B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f851e;
/* rgb */ color: rgb(143, 133, 30);
/* oklch */ color: oklch(60.7% 0.118 103.6);
Tailwind
colors: {
  custom: {
    50: '#b3a863',
    500: '#8f851e',
    950: '#000000',
  },
}
SCSS
$custom: #8f851e;
$custom-light: #b3a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8f851e",
  "rgb": {
    "r": 143,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 54.69,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.11791,
    "h": 103.6
  },
  "luminance": 0.22708
}

Semantic roles & 50–950 ramp

primary
#8F851E
secondary
#4C56BC
accent
#4EE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F851E

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

Preview Lab → · Contrast checker → · Palette generator →

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