#8F7F4E#8F7F4E

#8F7F4E is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.070 H 92.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8F7F4E
RGBrgb(143, 127, 78)
HSLhsl(45, 29%, 43%)
HSVhsv(45, 45%, 56%)
CMYKcmyk(0%, 11.2%, 45.5%, 43.9%)
CIE-LABlab(53.57, -1.02, 28.81)
CIE-LCHlch(53.57, 28.83, 92.02°)
OKLaboklab(59.94% -0.0024 0.07)
OKLCHoklch(59.94% 0.07 92)
XYZxyz(20.2928, 21.5692, 10.3006)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7F4E #4E5E8F
analogous
#8F5E4E #8F7F4E #7E8F4E
triadic
#8F7F4E #4E8F7F #7F4E8F
tetradic
#8F7F4E #4E8F5E #4E5E8F #8F4E7E
square
#8F7F4E #4E8F5E #4E5E8F #8F4E7E
split-complementary
#8F7F4E #4E7E8F #5E4E8F
monochromatic
#403923 #675C38 #8F7F4E #AF9E6C #C4B893

Accessibility & contrast

On white

3.95
#8F7F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8F7F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7F4E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7F4E#FFFFFF#000000##000000
##8F7F4E1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D4A
Deuteranopia (green-blind)
#8D8250
Tritanopia (blue-blind)
#987873
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f7f4e;
/* rgb */ color: rgb(143, 127, 78);
/* oklch */ color: oklch(59.9% 0.070 92.0);
Tailwind
colors: {
  custom: {
    50: '#b1a480',
    500: '#8f7f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8f7f4e;
$custom-light: #b1a480;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7f4e",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 45.231,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.07005,
    "h": 92
  },
  "luminance": 0.21568
}

Semantic roles & 50–950 ramp

primary
#8F7F4E
secondary
#8892B1
accent
#7BC662
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #8F7F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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