#8F741B#8F741B

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

Color values

HEX#8F741B
RGBrgb(143, 116, 27)
HSLhsl(46, 68%, 33%)
HSVhsv(46, 81%, 56%)
CMYKcmyk(0%, 18.9%, 81.1%, 43.9%)
CIE-LABlab(49.99, 1.47, 49.26)
CIE-LCHlch(49.99, 49.29, 88.29°)
OKLaboklab(56.95% -0.0014 0.1069)
OKLCHoklch(56.95% 0.107 90.8)
XYZxyz(17.7720, 18.4107, 3.6543)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F741B #1B368F
analogous
#8F3A1B #8F741B #708F1B
triadic
#8F741B #1B8F74 #741B8F
tetradic
#8F741B #1B8F3A #1B368F #8F1B70
square
#8F741B #1B8F3A #1B368F #8F1B70
split-complementary
#8F741B #1B708F #3A1B8F
monochromatic
#282008 #5C4A11 #8F741B #C29E25 #DCBA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F741B#FFFFFF#000000##000000
##8F741B1.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)
#827307
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#9B6963
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f741b;
/* rgb */ color: rgb(143, 116, 27);
/* oklch */ color: oklch(56.9% 0.107 90.8);
Tailwind
colors: {
  custom: {
    50: '#b49b60',
    500: '#8f741b',
    950: '#000000',
  },
}
SCSS
$custom: #8f741b;
$custom-light: #b49b60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f741b",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 46.034,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.10692,
    "h": 90.8
  },
  "luminance": 0.1841
}

Semantic roles & 50–950 ramp

primary
#8F741B
secondary
#4863BE
accent
#65EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F741B

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

Preview Lab → · Contrast checker → · Palette generator →

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