#8F762B#8F762B

#8F762B is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.098 H 90.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F762B
RGBrgb(143, 118, 43)
HSLhsl(45, 54%, 36%)
HSVhsv(45, 70%, 56%)
CMYKcmyk(0%, 17.5%, 69.9%, 43.9%)
CIE-LABlab(50.65, 1.12, 43.37)
CIE-LCHlch(50.65, 43.38, 88.53°)
OKLaboklab(57.51% -0.0005 0.0977)
OKLCHoklch(57.51% 0.098 90.3)
XYZxyz(18.2431, 18.9720, 4.9861)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F762B #2B448F
analogous
#8F442B #8F762B #768F2B
triadic
#8F762B #2B8F76 #762B8F
tetradic
#8F762B #2B8F44 #2B448F #8F2B76
square
#8F762B #2B8F44 #2B448F #8F2B76
split-complementary
#8F762B #2B768F #442B8F
monochromatic
#31280F #604F1D #8F762B #BE9D39 #D0B564

Accessibility & contrast

On white

4.38
#8F762B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8F762B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F762B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F762B#FFFFFF#000000##000000
##8F762B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837522
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#9B6C66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f762b;
/* rgb */ color: rgb(143, 118, 43);
/* oklch */ color: oklch(57.5% 0.098 90.3);
Tailwind
colors: {
  custom: {
    50: '#b39d68',
    500: '#8f762b',
    950: '#000000',
  },
}
SCSS
$custom: #8f762b;
$custom-light: #b39d68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f762b",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 45,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.09767,
    "h": 90.3
  },
  "luminance": 0.18971
}

Semantic roles & 50–950 ramp

primary
#8F762B
secondary
#5F75B7
accent
#6FDD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F762B

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

Preview Lab → · Contrast checker → · Palette generator →

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