#8F9841#8F9841

#8F9841 is a light, moderate yellow. Relative luminance 0.287; OKLCH L 65.4% C 0.112 H 114.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8F9841
RGBrgb(143, 152, 65)
HSLhsl(66, 40%, 43%)
HSVhsv(66, 57%, 60%)
CMYKcmyk(5.9%, 0%, 57.2%, 40.4%)
CIE-LABlab(60.50, -15.86, 43.82)
CIE-LCHlch(60.50, 46.60, 109.90°)
OKLaboklab(65.4% -0.0463 0.1018)
OKLCHoklch(65.4% 0.112 114.5)
XYZxyz(23.5105, 28.6781, 9.2969)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9841 #4A4198
analogous
#987641 #8F9841 #639841
triadic
#8F9841 #418F98 #98418F
tetradic
#8F9841 #419876 #4A4198 #984163
square
#8F9841 #419876 #4A4198 #984163
split-complementary
#8F9841 #416398 #764198
monochromatic
#3E421C #676D2F #8F9841 #B0BA5D #C5CC88

Accessibility & contrast

On white

3.12
#8F9841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8F9841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9841
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9841#FFFFFF#000000##000000
##8F98411.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29138
Deuteranopia (green-blind)
#A29346
Tritanopia (blue-blind)
#979085
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9841;
/* rgb */ color: rgb(143, 152, 65);
/* oklch */ color: oklch(65.4% 0.112 114.5);
Tailwind
colors: {
  custom: {
    50: '#b2b679',
    500: '#8f9841',
    950: '#000000',
  },
}
SCSS
$custom: #8f9841;
$custom-light: #b2b679;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9841",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 65
  },
  "hsl": {
    "h": 66.207,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65396,
    "c": 0.11188,
    "h": 114.5
  },
  "luminance": 0.28678
}

Semantic roles & 50–950 ramp

primary
#8F9841
secondary
#847EB7
accent
#58D064
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8F9841

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

Preview Lab → · Contrast checker → · Palette generator →

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