#8F7622#8F7622

#8F7622 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.104 H 91.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F7622
RGBrgb(143, 118, 34)
HSLhsl(46, 62%, 35%)
HSVhsv(46, 76%, 56%)
CMYKcmyk(0%, 17.5%, 76.2%, 43.9%)
CIE-LABlab(50.59, 0.63, 47.17)
CIE-LCHlch(50.59, 47.17, 89.23°)
OKLaboklab(57.43% -0.003 0.104)
OKLCHoklch(57.43% 0.104 91.7)
XYZxyz(18.0959, 18.9131, 4.2105)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7622 #223B8F
analogous
#8F4022 #8F7622 #718F22
triadic
#8F7622 #228F76 #76228F
tetradic
#8F7622 #228F40 #223B8F #8F2271
square
#8F7622 #228F40 #223B8F #8F2271
split-complementary
#8F7622 #22718F #40228F
monochromatic
#2C240A #5E4D16 #8F7622 #C09F2E #D7B955

Accessibility & contrast

On white

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

On black

4.78
#8F7622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7622
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7622#FFFFFF#000000##000000
##8F76221.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#9B6C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7622;
/* rgb */ color: rgb(143, 118, 34);
/* oklch */ color: oklch(57.4% 0.104 91.7);
Tailwind
colors: {
  custom: {
    50: '#b39d63',
    500: '#8f7622',
    950: '#000000',
  },
}
SCSS
$custom: #8f7622;
$custom-light: #b39d63;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7622",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 46.239,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.104,
    "h": 91.7
  },
  "luminance": 0.18912
}

Semantic roles & 50–950 ramp

primary
#8F7622
secondary
#526ABA
accent
#68E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #8F7622

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

Preview Lab → · Contrast checker → · Palette generator →

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