#8F7922#8F7922

#8F7922 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.106 H 94.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F7922
RGBrgb(143, 121, 34)
HSLhsl(48, 62%, 35%)
HSVhsv(48, 76%, 56%)
CMYKcmyk(0%, 15.4%, 76.2%, 43.9%)
CIE-LABlab(51.42, -1.06, 47.97)
CIE-LCHlch(51.42, 47.98, 91.27°)
OKLaboklab(58.09% -0.0079 0.1057)
OKLCHoklch(58.09% 0.106 94.3)
XYZxyz(18.4548, 19.6309, 4.3302)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7922 #22388F
analogous
#8F4322 #8F7922 #6F8F22
triadic
#8F7922 #228F79 #79228F
tetradic
#8F7922 #228F43 #22388F #8F226F
square
#8F7922 #228F43 #22388F #8F226F
split-complementary
#8F7922 #226F8F #43228F
monochromatic
#2C250A #5E4F16 #8F7922 #C0A32E #D7BC55

Accessibility & contrast

On white

4.26
#8F7922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8F7922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7922
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7922#FFFFFF#000000##000000
##8F79221.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867713
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#9B6F68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f7922;
/* rgb */ color: rgb(143, 121, 34);
/* oklch */ color: oklch(58.1% 0.106 94.3);
Tailwind
colors: {
  custom: {
    50: '#b39f64',
    500: '#8f7922',
    950: '#000000',
  },
}
SCSS
$custom: #8f7922;
$custom-light: #b39f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7922",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 47.89,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58088,
    "c": 0.10595,
    "h": 94.3
  },
  "luminance": 0.1963
}

Semantic roles & 50–950 ramp

primary
#8F7922
secondary
#5267BA
accent
#64E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7922

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

Preview Lab → · Contrast checker → · Palette generator →

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