#8F9839#8F9839

#8F9839 is a light, moderate yellow. Relative luminance 0.286; OKLCH L 65.3% C 0.119 H 114.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8F9839
RGBrgb(143, 152, 57)
HSLhsl(66, 45%, 41%)
HSVhsv(66, 63%, 60%)
CMYKcmyk(5.9%, 0%, 62.5%, 40.4%)
CIE-LABlab(60.42, -16.49, 47.43)
CIE-LCHlch(60.42, 50.22, 109.17°)
OKLaboklab(65.31% -0.049 0.1085)
OKLCHoklch(65.31% 0.119 114.3)
XYZxyz(23.2950, 28.5919, 8.1617)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9839 #423998
analogous
#987139 #8F9839 #5F9839
triadic
#8F9839 #398F98 #98398F
tetradic
#8F9839 #399871 #423998 #98395F
square
#8F9839 #399871 #423998 #98395F
split-complementary
#8F9839 #395F98 #713998
monochromatic
#3B3F18 #656B28 #8F9839 #B3BE51 #C7CE7D

Accessibility & contrast

On white

3.13
#8F9839 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8F9839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9839
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9839#FFFFFF#000000##000000
##8F98391.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912E
Deuteranopia (green-blind)
#A2933F
Tritanopia (blue-blind)
#988F84
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9839;
/* rgb */ color: rgb(143, 152, 57);
/* oklch */ color: oklch(65.3% 0.119 114.3);
Tailwind
colors: {
  custom: {
    50: '#b2b674',
    500: '#8f9839',
    950: '#000000',
  },
}
SCSS
$custom: #8f9839;
$custom-light: #b2b674;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9839",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 57
  },
  "hsl": {
    "h": 65.684,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6531,
    "c": 0.11903,
    "h": 114.3
  },
  "luminance": 0.28592
}

Semantic roles & 50–950 ramp

primary
#8F9839
secondary
#7B75B8
accent
#53D55F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9839

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

Preview Lab → · Contrast checker → · Palette generator →

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