#8F8A4E#8F8A4E

#8F8A4E is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.081 H 104.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8F8A4E
RGBrgb(143, 138, 78)
HSLhsl(55, 29%, 43%)
HSVhsv(55, 45%, 56%)
CMYKcmyk(0%, 3.5%, 45.5%, 43.9%)
CIE-LABlab(56.65, -7.13, 32.68)
CIE-LCHlch(56.65, 33.45, 102.31°)
OKLaboklab(62.38% -0.0201 0.0787)
OKLCHoklch(62.38% 0.081 104.3)
XYZxyz(21.7918, 24.5673, 10.8003)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A4E #4E538F
analogous
#8F694E #8F8A4E #738F4E
triadic
#8F8A4E #4E8F8A #8A4E8F
tetradic
#8F8A4E #4E8F69 #4E538F #8F4E73
square
#8F8A4E #4E8F69 #4E538F #8F4E73
split-complementary
#8F8A4E #4E738F #694E8F
monochromatic
#403E23 #676438 #8F8A4E #AFA96C #C4C093

Accessibility & contrast

On white

3.55
#8F8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8F8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A4E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A4E#FFFFFF#000000##000000
##8F8A4E1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938649
Deuteranopia (green-blind)
#958951
Tritanopia (blue-blind)
#98837C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f8a4e;
/* rgb */ color: rgb(143, 138, 78);
/* oklch */ color: oklch(62.4% 0.081 104.3);
Tailwind
colors: {
  custom: {
    50: '#b1ac81',
    500: '#8f8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a4e;
$custom-light: #b1ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a4e",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 55.385,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.62382,
    "c": 0.08123,
    "h": 104.3
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

primary
#8F8A4E
secondary
#888BB1
accent
#6AC662
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8F8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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