#8F7916#8F7916

#8F7916 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.112 H 95.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F7916
RGBrgb(143, 121, 22)
HSLhsl(49, 73%, 32%)
HSVhsv(49, 85%, 56%)
CMYKcmyk(0%, 15.4%, 84.6%, 43.9%)
CIE-LABlab(51.35, -1.53, 52.10)
CIE-LCHlch(51.35, 52.12, 91.68°)
OKLaboklab(58.02% -0.0104 0.1119)
OKLCHoklch(58.02% 0.112 95.3)
XYZxyz(18.3109, 19.5734, 3.5725)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7916 #162C8F
analogous
#8F3D16 #8F7916 #688F16
triadic
#8F7916 #168F79 #79168F
tetradic
#8F7916 #168F3D #162C8F #8F1668
square
#8F7916 #168F3D #162C8F #8F1668
split-complementary
#8F7916 #16688F #3D168F
monochromatic
#251F06 #5A4C0E #8F7916 #C4A61E #E1C43E

Accessibility & contrast

On white

4.27
#8F7916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8F7916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7916
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7916#FFFFFF#000000##000000
##8F79161.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#9B6F67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f7916;
/* rgb */ color: rgb(143, 121, 22);
/* oklch */ color: oklch(58.0% 0.112 95.3);
Tailwind
colors: {
  custom: {
    50: '#b49f5e',
    500: '#8f7916',
    950: '#000000',
  },
}
SCSS
$custom: #8f7916;
$custom-light: #b49f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7916",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 49.091,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.11242,
    "h": 95.3
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#8F7916
secondary
#3F57C1
accent
#59F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7916

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

Preview Lab → · Contrast checker → · Palette generator →

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