#8F7422#8F7422

#8F7422 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 57.0% C 0.103 H 89.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8F7422
RGBrgb(143, 116, 34)
HSLhsl(45, 62%, 35%)
HSVhsv(45, 76%, 56%)
CMYKcmyk(0%, 18.9%, 76.2%, 43.9%)
CIE-LABlab(50.03, 1.77, 46.64)
CIE-LCHlch(50.03, 46.67, 87.82°)
OKLaboklab(57% 0.0002 0.1028)
OKLCHoklch(57% 0.103 89.9)
XYZxyz(17.8628, 18.4470, 4.1329)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7422 #223D8F
analogous
#8F3E22 #8F7422 #738F22
triadic
#8F7422 #228F74 #74228F
tetradic
#8F7422 #228F3E #223D8F #8F2273
square
#8F7422 #228F3E #223D8F #8F2273
split-complementary
#8F7422 #22738F #3E228F
monochromatic
#2C240A #5E4C16 #8F7422 #C09C2E #D7B655

Accessibility & contrast

On white

4.48
#8F7422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8F7422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7422
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7422#FFFFFF#000000##000000
##8F74221.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#9B6A64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f7422;
/* rgb */ color: rgb(143, 116, 34);
/* oklch */ color: oklch(57.0% 0.103 89.9);
Tailwind
colors: {
  custom: {
    50: '#b49b63',
    500: '#8f7422',
    950: '#000000',
  },
}
SCSS
$custom: #8f7422;
$custom-light: #b49b63;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7422",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 45.138,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.10283,
    "h": 89.9
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#8F7422
secondary
#526CBA
accent
#6BE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #8F7422

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

Preview Lab → · Contrast checker → · Palette generator →

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