#8F7627#8F7627

#8F7627 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.5% C 0.101 H 91.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F7627
RGBrgb(143, 118, 39)
HSLhsl(46, 57%, 36%)
HSVhsv(46, 73%, 56%)
CMYKcmyk(0%, 17.5%, 72.7%, 43.9%)
CIE-LABlab(50.62, 0.89, 45.12)
CIE-LCHlch(50.62, 45.12, 88.87°)
OKLaboklab(57.47% -0.0017 0.1006)
OKLCHoklch(57.47% 0.101 91)
XYZxyz(18.1733, 18.9441, 4.6184)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7627 #27408F
analogous
#8F4227 #8F7627 #748F27
triadic
#8F7627 #278F76 #76278F
tetradic
#8F7627 #278F42 #27408F #8F2774
square
#8F7627 #278F42 #27408F #8F2774
split-complementary
#8F7627 #27748F #42278F
monochromatic
#2F270D #5F4E1A #8F7627 #BF9E34 #D3B75D

Accessibility & contrast

On white

4.39
#8F7627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8F7627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7627
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7627#FFFFFF#000000##000000
##8F76271.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#8A7B2B
Tritanopia (blue-blind)
#9B6C66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7627;
/* rgb */ color: rgb(143, 118, 39);
/* oklch */ color: oklch(57.5% 0.101 91.0);
Tailwind
colors: {
  custom: {
    50: '#b39d66',
    500: '#8f7627',
    950: '#000000',
  },
}
SCSS
$custom: #8f7627;
$custom-light: #b39d66;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7627",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 45.577,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57471,
    "c": 0.10063,
    "h": 91
  },
  "luminance": 0.18943
}

Semantic roles & 50–950 ramp

primary
#8F7627
secondary
#5A70B8
accent
#6CE047
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7627

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

Preview Lab → · Contrast checker → · Palette generator →

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