#8F982F#8F982F

#8F982F is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.2% C 0.127 H 114.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8F982F
RGBrgb(143, 152, 47)
HSLhsl(65, 53%, 39%)
HSVhsv(65, 69%, 60%)
CMYKcmyk(5.9%, 0%, 69.1%, 40.4%)
CIE-LABlab(60.34, -17.16, 51.60)
CIE-LCHlch(60.34, 54.37, 108.39°)
OKLaboklab(65.22% -0.0519 0.1157)
OKLCHoklch(65.22% 0.127 114.1)
XYZxyz(23.0696, 28.5018, 6.9749)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F982F #382F98
analogous
#986D2F #8F982F #5B982F
triadic
#8F982F #2F8F98 #982F8F
tetradic
#8F982F #2F986D #382F98 #982F5B
square
#8F982F #2F986D #382F98 #982F5B
split-complementary
#8F982F #2F5B98 #6D2F98
monochromatic
#373B12 #636921 #8F982F #B9C440 #CAD26F

Accessibility & contrast

On white

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

On black

6.70
#8F982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F982F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F982F#FFFFFF#000000##000000
##8F982F1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911F
Deuteranopia (green-blind)
#A39237
Tritanopia (blue-blind)
#988F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f982f;
/* rgb */ color: rgb(143, 152, 47);
/* oklch */ color: oklch(65.2% 0.127 114.1);
Tailwind
colors: {
  custom: {
    50: '#b3b66e',
    500: '#8f982f',
    950: '#000000',
  },
}
SCSS
$custom: #8f982f;
$custom-light: #b3b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f982f",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 65.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6522,
    "c": 0.12683,
    "h": 114.1
  },
  "luminance": 0.28501
}

Semantic roles & 50–950 ramp

primary
#8F982F
secondary
#7069BA
accent
#4CDC58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F982F

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

Preview Lab → · Contrast checker → · Palette generator →

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