#8F751C#8F751C

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

Color values

HEX#8F751C
RGBrgb(143, 117, 28)
HSLhsl(46, 67%, 34%)
HSVhsv(46, 80%, 56%)
CMYKcmyk(0%, 18.2%, 80.4%, 43.9%)
CIE-LABlab(50.27, 0.94, 49.16)
CIE-LCHlch(50.27, 49.17, 88.90°)
OKLaboklab(57.17% -0.0028 0.1069)
OKLCHoklch(57.17% 0.107 91.5)
XYZxyz(17.8996, 18.6472, 3.7549)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F751C #1C368F
analogous
#8F3B1C #8F751C #6F8F1C
triadic
#8F751C #1C8F75 #751C8F
tetradic
#8F751C #1C8F3B #1C368F #8F1C6F
square
#8F751C #1C8F3B #1C368F #8F1C6F
split-complementary
#8F751C #1C6F8F #3B1C8F
monochromatic
#292108 #5C4B12 #8F751C #C29F26 #DCBB4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F751C#FFFFFF#000000##000000
##8F751C1.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)
#837309
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#9B6B64
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f751c;
/* rgb */ color: rgb(143, 117, 28);
/* oklch */ color: oklch(57.2% 0.107 91.5);
Tailwind
colors: {
  custom: {
    50: '#b49c60',
    500: '#8f751c',
    950: '#000000',
  },
}
SCSS
$custom: #8f751c;
$custom-light: #b49c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f751c",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 46.435,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57172,
    "c": 0.10695,
    "h": 91.5
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#8F751C
secondary
#4964BE
accent
#65EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F751C

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

Preview Lab → · Contrast checker → · Palette generator →

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