#8F883B#8F883B

#8F883B is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.099 H 104.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8F883B
RGBrgb(143, 136, 59)
HSLhsl(55, 42%, 40%)
HSVhsv(55, 59%, 56%)
CMYKcmyk(0%, 4.9%, 58.7%, 43.9%)
CIE-LABlab(55.85, -7.81, 41.46)
CIE-LCHlch(55.85, 42.18, 100.66°)
OKLaboklab(61.67% -0.0241 0.096)
OKLCHoklch(61.67% 0.099 104.1)
XYZxyz(20.9220, 23.7644, 7.6217)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F883B #3B428F
analogous
#8F5E3B #8F883B #6C8F3B
triadic
#8F883B #3B8F88 #883B8F
tetradic
#8F883B #3B8F5E #3B428F #8F3B6C
square
#8F883B #3B8F5E #3B428F #8F3B6C
split-complementary
#8F883B #3B6C8F #5E3B8F
monochromatic
#383617 #645F29 #8F883B #B7AE50 #C9C27C

Accessibility & contrast

On white

3.65
#8F883B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8F883B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F883B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F883B#FFFFFF#000000##000000
##8F883B1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938433
Deuteranopia (green-blind)
#96883F
Tritanopia (blue-blind)
#998077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f883b;
/* rgb */ color: rgb(143, 136, 59);
/* oklch */ color: oklch(61.7% 0.099 104.1);
Tailwind
colors: {
  custom: {
    50: '#b2aa74',
    500: '#8f883b',
    950: '#000000',
  },
}
SCSS
$custom: #8f883b;
$custom-light: #b2aa74;
$custom-dark: #000000;
JSON
{
  "hex": "#8f883b",
  "rgb": {
    "r": 143,
    "g": 136,
    "b": 59
  },
  "hsl": {
    "h": 55,
    "s": 41.584,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.09903,
    "h": 104.1
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#8F883B
secondary
#7379B2
accent
#61D156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F883B

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

Preview Lab → · Contrast checker → · Palette generator →

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