#8F7416#8F7416

#8F7416 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.9% C 0.109 H 91.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8F7416
RGBrgb(143, 116, 22)
HSLhsl(47, 73%, 32%)
HSVhsv(47, 85%, 56%)
CMYKcmyk(0%, 18.9%, 84.6%, 43.9%)
CIE-LABlab(49.97, 1.30, 50.91)
CIE-LCHlch(49.97, 50.92, 88.54°)
OKLaboklab(56.92% -0.0024 0.1093)
OKLCHoklch(56.92% 0.109 91.3)
XYZxyz(17.7190, 18.3895, 3.3752)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7416 #16318F
analogous
#8F3816 #8F7416 #6D8F16
triadic
#8F7416 #168F74 #74168F
tetradic
#8F7416 #168F38 #16318F #8F166D
square
#8F7416 #168F38 #16318F #8F166D
split-complementary
#8F7416 #166D8F #38168F
monochromatic
#251E06 #5A490E #8F7416 #C49F1E #E1BD3E

Accessibility & contrast

On white

4.49
#8F7416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8F7416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7416
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7416#FFFFFF#000000##000000
##8F74161.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#897A1D
Tritanopia (blue-blind)
#9B6963
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f7416;
/* rgb */ color: rgb(143, 116, 22);
/* oklch */ color: oklch(56.9% 0.109 91.3);
Tailwind
colors: {
  custom: {
    50: '#b49b5d',
    500: '#8f7416',
    950: '#000000',
  },
}
SCSS
$custom: #8f7416;
$custom-light: #b49b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7416",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 46.612,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5692,
    "c": 0.10937,
    "h": 91.3
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#8F7416
secondary
#3F5CC1
accent
#61F038
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7416

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

Preview Lab → · Contrast checker → · Palette generator →

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