#8F8A3F#8F8A3F

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

Color values

HEX#8F8A3F
RGBrgb(143, 138, 63)
HSLhsl(56, 39%, 40%)
HSVhsv(56, 56%, 56%)
CMYKcmyk(0%, 3.5%, 55.9%, 43.9%)
CIE-LABlab(56.46, -8.57, 40.19)
CIE-LCHlch(56.46, 41.09, 102.03°)
OKLaboklab(62.17% -0.0258 0.0938)
OKLCHoklch(62.17% 0.097 105.4)
XYZxyz(21.3140, 24.3761, 8.2840)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A3F #3F448F
analogous
#8F623F #8F8A3F #6C8F3F
triadic
#8F8A3F #3F8F8A #8A3F8F
tetradic
#8F8A3F #3F8F62 #3F448F #8F3F6C
square
#8F8A3F #3F8F62 #3F448F #8F3F6C
split-complementary
#8F8A3F #3F6C8F #623F8F
monochromatic
#3A381A #65612C #8F8A3F #B5AF56 #C7C381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8A3F#FFFFFF#000000##000000
##8F8A3F1.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)
#958538
Deuteranopia (green-blind)
#978943
Tritanopia (blue-blind)
#998279
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a3f;
/* rgb */ color: rgb(143, 138, 63);
/* oklch */ color: oklch(62.2% 0.097 105.4);
Tailwind
colors: {
  custom: {
    50: '#b2ac77',
    500: '#8f8a3f',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a3f;
$custom-light: #b2ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a3f",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 56.25,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62171,
    "c": 0.0973,
    "h": 105.4
  },
  "luminance": 0.24375
}

Semantic roles & 50–950 ramp

primary
#8F8A3F
secondary
#787CB2
accent
#60CF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8F8A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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