#8F8A41#8F8A41

#8F8A41 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.095 H 105.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8F8A41
RGBrgb(143, 138, 65)
HSLhsl(56, 38%, 41%)
HSVhsv(56, 55%, 56%)
CMYKcmyk(0%, 3.5%, 54.5%, 43.9%)
CIE-LABlab(56.48, -8.39, 39.22)
CIE-LCHlch(56.48, 40.11, 102.08°)
OKLaboklab(62.2% -0.0251 0.0919)
OKLCHoklch(62.2% 0.095 105.3)
XYZxyz(21.3709, 24.3989, 8.5837)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A41 #41468F
analogous
#8F6341 #8F8A41 #6D8F41
triadic
#8F8A41 #418F8A #8A418F
tetradic
#8F8A41 #418F63 #41468F #8F416D
square
#8F8A41 #418F63 #41468F #8F416D
split-complementary
#8F8A41 #416D8F #63418F
monochromatic
#3B391B #65612E #8F8A41 #B4AE59 #C7C384

Accessibility & contrast

On white

3.57
#8F8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8F8A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A41
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A41#FFFFFF#000000##000000
##8F8A411.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863A
Deuteranopia (green-blind)
#978945
Tritanopia (blue-blind)
#98827A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a41;
/* rgb */ color: rgb(143, 138, 65);
/* oklch */ color: oklch(62.2% 0.095 105.3);
Tailwind
colors: {
  custom: {
    50: '#b2ac78',
    500: '#8f8a41',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a41;
$custom-light: #b2ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a41",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 56.154,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62196,
    "c": 0.0953,
    "h": 105.3
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#8F8A41
secondary
#7A7EB1
accent
#62CD5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8F8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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