#8F7C2A#8F7C2A

#8F7C2A is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.8% C 0.103 H 95.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8F7C2A
RGBrgb(143, 124, 42)
HSLhsl(49, 55%, 36%)
HSVhsv(49, 71%, 56%)
CMYKcmyk(0%, 13.3%, 70.6%, 43.9%)
CIE-LABlab(52.31, -2.33, 45.53)
CIE-LCHlch(52.31, 45.59, 92.93°)
OKLaboklab(58.81% -0.0106 0.1021)
OKLCHoklch(58.81% 0.103 95.9)
XYZxyz(18.9542, 20.4231, 5.1337)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7C2A #2A3D8F
analogous
#8F4A2A #8F7C2A #708F2A
triadic
#8F7C2A #2A8F7C #7C2A8F
tetradic
#8F7C2A #2A8F4A #2A3D8F #8F2A70
square
#8F7C2A #2A8F4A #2A3D8F #8F2A70
split-complementary
#8F7C2A #2A708F #4A2A8F
monochromatic
#302A0E #60531C #8F7C2A #BEA538 #D1BC62

Accessibility & contrast

On white

4.13
#8F7C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8F7C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7C2A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7C2A#FFFFFF#000000##000000
##8F7C2A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791F
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#9A726B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f7c2a;
/* rgb */ color: rgb(143, 124, 42);
/* oklch */ color: oklch(58.8% 0.103 95.9);
Tailwind
colors: {
  custom: {
    50: '#b3a168',
    500: '#8f7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f7c2a;
$custom-light: #b3a168;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7c2a",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 48.713,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.1026,
    "h": 95.9
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#8F7C2A
secondary
#5E6FB7
accent
#66DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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