#8F7A2B#8F7A2B

#8F7A2B is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.4% C 0.100 H 94.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8F7A2B
RGBrgb(143, 122, 43)
HSLhsl(47, 54%, 36%)
HSVhsv(47, 70%, 56%)
CMYKcmyk(0%, 14.7%, 69.9%, 43.9%)
CIE-LABlab(51.76, -1.15, 44.52)
CIE-LCHlch(51.76, 44.53, 91.48°)
OKLaboklab(58.38% -0.0071 0.1001)
OKLCHoklch(58.38% 0.1 94)
XYZxyz(18.7242, 19.9341, 5.1465)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7A2B #2B408F
analogous
#8F482B #8F7A2B #728F2B
triadic
#8F7A2B #2B8F7A #7A2B8F
tetradic
#8F7A2B #2B8F48 #2B408F #8F2B72
square
#8F7A2B #2B8F48 #2B408F #8F2B72
split-complementary
#8F7A2B #2B728F #482B8F
monochromatic
#312A0F #60521D #8F7A2B #BEA239 #D0BA64

Accessibility & contrast

On white

4.21
#8F7A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8F7A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7A2B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7A2B#FFFFFF#000000##000000
##8F7A2B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#9B706A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f7a2b;
/* rgb */ color: rgb(143, 122, 43);
/* oklch */ color: oklch(58.4% 0.100 94.0);
Tailwind
colors: {
  custom: {
    50: '#b3a069',
    500: '#8f7a2b',
    950: '#000000',
  },
}
SCSS
$custom: #8f7a2b;
$custom-light: #b3a069;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7a2b",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 47.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.10036,
    "h": 94
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#8F7A2B
secondary
#5F72B7
accent
#69DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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