#8F7E2B#8F7E2B

#8F7E2B is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.103 H 97.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8F7E2B
RGBrgb(143, 126, 43)
HSLhsl(50, 54%, 36%)
HSVhsv(50, 70%, 56%)
CMYKcmyk(0%, 11.9%, 69.9%, 43.9%)
CIE-LABlab(52.88, -3.39, 45.67)
CIE-LCHlch(52.88, 45.80, 94.25°)
OKLaboklab(59.27% -0.0135 0.1025)
OKLCHoklch(59.27% 0.103 97.5)
XYZxyz(19.2255, 20.9367, 5.3136)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E2B #2B3C8F
analogous
#8F4C2B #8F7E2B #6E8F2B
triadic
#8F7E2B #2B8F7E #7E2B8F
tetradic
#8F7E2B #2B8F4C #2B3C8F #8F2B6E
square
#8F7E2B #2B8F4C #2B3C8F #8F2B6E
split-complementary
#8F7E2B #2B6E8F #4C2B8F
monochromatic
#312B0F #60551D #8F7E2B #BEA739 #D0BE64

Accessibility & contrast

On white

4.05
#8F7E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8F7E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E2B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E2B#FFFFFF#000000##000000
##8F7E2B1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#8F8130
Tritanopia (blue-blind)
#9A746D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e2b;
/* rgb */ color: rgb(143, 126, 43);
/* oklch */ color: oklch(59.3% 0.103 97.5);
Tailwind
colors: {
  custom: {
    50: '#b3a369',
    500: '#8f7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e2b;
$custom-light: #b3a369;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e2b",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 49.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.10342,
    "h": 97.5
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#8F7E2B
secondary
#5F6EB7
accent
#64DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8F7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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