#8F8A3E#8F8A3E

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

Color values

HEX#8F8A3E
RGBrgb(143, 138, 62)
HSLhsl(56, 40%, 40%)
HSVhsv(56, 57%, 56%)
CMYKcmyk(0%, 3.5%, 56.6%, 43.9%)
CIE-LABlab(56.45, -8.65, 40.67)
CIE-LCHlch(56.45, 41.58, 102.01°)
OKLaboklab(62.16% -0.0262 0.0947)
OKLCHoklch(62.16% 0.098 105.5)
XYZxyz(21.2863, 24.3651, 8.1381)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A3E #3E438F
analogous
#8F613E #8F8A3E #6C8F3E
triadic
#8F8A3E #3E8F8A #8A3E8F
tetradic
#8F8A3E #3E8F61 #3E438F #8F3E6C
square
#8F8A3E #3E8F61 #3E438F #8F3E6C
split-complementary
#8F8A3E #3E6C8F #613E8F
monochromatic
#3A3819 #64612B #8F8A3E #B5AF55 #C8C380

Accessibility & contrast

On white

3.58
#8F8A3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8F8A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A3E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A3E#FFFFFF#000000##000000
##8F8A3E1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958536
Deuteranopia (green-blind)
#978942
Tritanopia (blue-blind)
#998279
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a3e;
/* rgb */ color: rgb(143, 138, 62);
/* oklch */ color: oklch(62.2% 0.098 105.5);
Tailwind
colors: {
  custom: {
    50: '#b2ac76',
    500: '#8f8a3e',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a3e;
$custom-light: #b2ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a3e",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 56.296,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62159,
    "c": 0.09829,
    "h": 105.5
  },
  "luminance": 0.24364
}

Semantic roles & 50–950 ramp

primary
#8F8A3E
secondary
#777BB2
accent
#60CF58
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8F8A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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