#8F7E2A#8F7E2A

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

Color values

HEX#8F7E2A
RGBrgb(143, 126, 42)
HSLhsl(50, 55%, 36%)
HSVhsv(50, 71%, 56%)
CMYKcmyk(0%, 11.9%, 70.6%, 43.9%)
CIE-LABlab(52.87, -3.45, 46.10)
CIE-LCHlch(52.87, 46.23, 94.28°)
OKLaboklab(59.26% -0.0138 0.1033)
OKLCHoklch(59.26% 0.104 97.6)
XYZxyz(19.2074, 20.9295, 5.2181)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E2A #2A3B8F
analogous
#8F4C2A #8F7E2A #6E8F2A
triadic
#8F7E2A #2A8F7E #7E2A8F
tetradic
#8F7E2A #2A8F4C #2A3B8F #8F2A6E
square
#8F7E2A #2A8F4C #2A3B8F #8F2A6E
split-complementary
#8F7E2A #2A6E8F #4C2A8F
monochromatic
#302B0E #60541C #8F7E2A #BEA838 #D1BE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7E2A#FFFFFF#000000##000000
##8F7E2A1.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)
#8B7B1E
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#9A746D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e2a;
/* rgb */ color: rgb(143, 126, 42);
/* oklch */ color: oklch(59.3% 0.104 97.6);
Tailwind
colors: {
  custom: {
    50: '#b3a369',
    500: '#8f7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e2a;
$custom-light: #b3a369;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e2a",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 49.901,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.10417,
    "h": 97.6
  },
  "luminance": 0.20929
}

Semantic roles & 50–950 ramp

primary
#8F7E2A
secondary
#5E6DB7
accent
#63DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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