#8F751B#8F751B

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

Color values

HEX#8F751B
RGBrgb(143, 117, 27)
HSLhsl(47, 68%, 33%)
HSVhsv(47, 81%, 56%)
CMYKcmyk(0%, 18.2%, 81.1%, 43.9%)
CIE-LABlab(50.27, 0.90, 49.51)
CIE-LCHlch(50.27, 49.52, 88.95°)
OKLaboklab(57.17% -0.003 0.1074)
OKLCHoklch(57.17% 0.107 91.6)
XYZxyz(17.8879, 18.6425, 3.6929)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F751B #1B358F
analogous
#8F3B1B #8F751B #6F8F1B
triadic
#8F751B #1B8F75 #751B8F
tetradic
#8F751B #1B8F3B #1B358F #8F1B6F
square
#8F751B #1B8F3B #1B358F #8F1B6F
split-complementary
#8F751B #1B6F8F #3B1B8F
monochromatic
#282108 #5C4B11 #8F751B #C29F25 #DCBB48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F751B#FFFFFF#000000##000000
##8F751B1.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)
#837306
Deuteranopia (green-blind)
#897B21
Tritanopia (blue-blind)
#9B6B64
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f751b;
/* rgb */ color: rgb(143, 117, 27);
/* oklch */ color: oklch(57.2% 0.107 91.6);
Tailwind
colors: {
  custom: {
    50: '#b49c60',
    500: '#8f751b',
    950: '#000000',
  },
}
SCSS
$custom: #8f751b;
$custom-light: #b49c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8f751b",
  "rgb": {
    "r": 143,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 46.552,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.10748,
    "h": 91.6
  },
  "luminance": 0.18641
}

Semantic roles & 50–950 ramp

primary
#8F751B
secondary
#4862BE
accent
#64EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F751B

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

Preview Lab → · Contrast checker → · Palette generator →

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