#8F7522#8F7522

#8F7522 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.2% C 0.103 H 90.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F7522
RGBrgb(143, 117, 34)
HSLhsl(46, 62%, 35%)
HSVhsv(46, 76%, 56%)
CMYKcmyk(0%, 18.2%, 76.2%, 43.9%)
CIE-LABlab(50.31, 1.20, 46.90)
CIE-LCHlch(50.31, 46.92, 88.53°)
OKLaboklab(57.21% -0.0014 0.1034)
OKLCHoklch(57.21% 0.103 90.8)
XYZxyz(17.9787, 18.6788, 4.1715)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7522 #223C8F
analogous
#8F3F22 #8F7522 #738F22
triadic
#8F7522 #228F75 #75228F
tetradic
#8F7522 #228F3F #223C8F #8F2273
square
#8F7522 #228F3F #223C8F #8F2273
split-complementary
#8F7522 #22738F #3F228F
monochromatic
#2C240A #5E4D16 #8F7522 #C09D2E #D7B855

Accessibility & contrast

On white

4.43
#8F7522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8F7522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7522
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7522#FFFFFF#000000##000000
##8F75221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837314
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#9B6B65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7522;
/* rgb */ color: rgb(143, 117, 34);
/* oklch */ color: oklch(57.2% 0.103 90.8);
Tailwind
colors: {
  custom: {
    50: '#b39c63',
    500: '#8f7522',
    950: '#000000',
  },
}
SCSS
$custom: #8f7522;
$custom-light: #b39c63;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7522",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 45.688,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.1034,
    "h": 90.8
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#8F7522
secondary
#526BBA
accent
#6AE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #8F7522

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

Preview Lab → · Contrast checker → · Palette generator →

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