#8F751A#8F751A

#8F751A is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.2% C 0.108 H 91.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8F751A
RGBrgb(143, 117, 26)
HSLhsl(47, 69%, 33%)
HSVhsv(47, 82%, 56%)
CMYKcmyk(0%, 18.2%, 81.8%, 43.9%)
CIE-LABlab(50.26, 0.87, 49.86)
CIE-LCHlch(50.26, 49.86, 89.00°)
OKLaboklab(57.16% -0.0032 0.108)
OKLCHoklch(57.16% 0.108 91.7)
XYZxyz(17.8765, 18.6379, 3.6330)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F751A #1A348F
analogous
#8F3B1A #8F751A #6E8F1A
triadic
#8F751A #1A8F75 #751A8F
tetradic
#8F751A #1A8F3B #1A348F #8F1A6E
square
#8F751A #1A8F3B #1A348F #8F1A6E
split-complementary
#8F751A #1A6E8F #3B1A8F
monochromatic
#272007 #5B4B11 #8F751A #C39F23 #DDBC46

Accessibility & contrast

On white

4.44
#8F751A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8F751A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F751A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F751A#FFFFFF#000000##000000
##8F751A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#897B20
Tritanopia (blue-blind)
#9B6A64
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f751a;
/* rgb */ color: rgb(143, 117, 26);
/* oklch */ color: oklch(57.2% 0.108 91.7);
Tailwind
colors: {
  custom: {
    50: '#b49c5f',
    500: '#8f751a',
    950: '#000000',
  },
}
SCSS
$custom: #8f751a;
$custom-light: #b49c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f751a",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 46.667,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.10801,
    "h": 91.7
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#8F751A
secondary
#4661BF
accent
#63EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F751A

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

Preview Lab → · Contrast checker → · Palette generator →

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