#8F8A46#8F8A46

#8F8A46 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.3% C 0.090 H 104.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8F8A46
RGBrgb(143, 138, 70)
HSLhsl(56, 34%, 42%)
HSVhsv(56, 51%, 56%)
CMYKcmyk(0%, 3.5%, 51%, 43.9%)
CIE-LABlab(56.54, -7.94, 36.74)
CIE-LCHlch(56.54, 37.59, 102.19°)
OKLaboklab(62.26% -0.0232 0.0871)
OKLCHoklch(62.26% 0.09 104.9)
XYZxyz(21.5222, 24.4594, 9.3806)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A46 #464B8F
analogous
#8F6646 #8F8A46 #708F46
triadic
#8F8A46 #468F8A #8A468F
tetradic
#8F8A46 #468F66 #464B8F #8F4670
square
#8F8A46 #468F66 #464B8F #8F4670
split-complementary
#8F8A46 #46708F #66468F
monochromatic
#3D3B1E #666232 #8F8A46 #B2AC61 #C6C28A

Accessibility & contrast

On white

3.56
#8F8A46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8F8A46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A46
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A46#FFFFFF#000000##000000
##8F8A461.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948640
Deuteranopia (green-blind)
#968949
Tritanopia (blue-blind)
#98827A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f8a46;
/* rgb */ color: rgb(143, 138, 70);
/* oklch */ color: oklch(62.3% 0.090 104.9);
Tailwind
colors: {
  custom: {
    50: '#b1ac7b',
    500: '#8f8a46',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a46;
$custom-light: #b1ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a46",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 55.89,
    "s": 34.272,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.09011,
    "h": 104.9
  },
  "luminance": 0.24459
}

Semantic roles & 50–950 ramp

primary
#8F8A46
secondary
#8083B1
accent
#65CA5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#111009
muted
#807F7B

Preview Lab

Preview with #8F8A46

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

Preview Lab → · Contrast checker → · Palette generator →

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