#8F751D#8F751D

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

Color values

HEX#8F751D
RGBrgb(143, 117, 29)
HSLhsl(46, 66%, 34%)
HSVhsv(46, 80%, 56%)
CMYKcmyk(0%, 18.2%, 79.7%, 43.9%)
CIE-LABlab(50.28, 0.98, 48.80)
CIE-LCHlch(50.28, 48.81, 88.85°)
OKLaboklab(57.18% -0.0026 0.1064)
OKLCHoklch(57.18% 0.106 91.4)
XYZxyz(17.9118, 18.6520, 3.8189)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F751D #1D378F
analogous
#8F3C1D #8F751D #708F1D
triadic
#8F751D #1D8F75 #751D8F
tetradic
#8F751D #1D8F3C #1D378F #8F1D70
square
#8F751D #1D8F3C #1D378F #8F1D70
split-complementary
#8F751D #1D708F #3C1D8F
monochromatic
#292208 #5C4B13 #8F751D #C29F27 #DBBA4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8f751d;
/* rgb */ color: rgb(143, 117, 29);
/* oklch */ color: oklch(57.2% 0.106 91.4);
Tailwind
colors: {
  custom: {
    50: '#b49c61',
    500: '#8f751d',
    950: '#000000',
  },
}
SCSS
$custom: #8f751d;
$custom-light: #b49c61;
$custom-dark: #000000;
JSON
{
  "hex": "#8f751d",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 46.316,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.1064,
    "h": 91.4
  },
  "luminance": 0.18651
}

Semantic roles & 50–950 ramp

primary
#8F751D
secondary
#4B65BD
accent
#66E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F751D

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

Preview Lab → · Contrast checker → · Palette generator →

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