#8F8440#8F8440

#8F8440 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.8% C 0.090 H 100.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8F8440
RGBrgb(143, 132, 64)
HSLhsl(52, 38%, 41%)
HSVhsv(52, 55%, 56%)
CMYKcmyk(0%, 7.7%, 55.2%, 43.9%)
CIE-LABlab(54.78, -5.19, 37.73)
CIE-LCHlch(54.78, 38.08, 97.83°)
OKLaboklab(60.83% -0.016 0.0886)
OKLCHoklch(60.83% 0.09 100.3)
XYZxyz(20.5050, 22.7131, 8.1535)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8440 #404B8F
analogous
#8F5D40 #8F8440 #728F40
triadic
#8F8440 #408F84 #84408F
tetradic
#8F8440 #408F5D #404B8F #8F4072
square
#8F8440 #408F5D #404B8F #8F4072
split-complementary
#8F8440 #40728F #5D408F
monochromatic
#3A361A #655D2D #8F8440 #B4A758 #C7BE82

Accessibility & contrast

On white

3.79
#8F8440 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8F8440 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8440
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8440#FFFFFF#000000##000000
##8F84401.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813A
Deuteranopia (green-blind)
#928543
Tritanopia (blue-blind)
#997C75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f8440;
/* rgb */ color: rgb(143, 132, 64);
/* oklch */ color: oklch(60.8% 0.090 100.3);
Tailwind
colors: {
  custom: {
    50: '#b2a777',
    500: '#8f8440',
    950: '#000000',
  },
}
SCSS
$custom: #8f8440;
$custom-light: #b2a777;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8440",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 51.646,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.09004,
    "h": 100.3
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#8F8440
secondary
#7981B2
accent
#6ACE5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8F8440

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

Preview Lab → · Contrast checker → · Palette generator →

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