#8F982E#8F982E

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

Color values

HEX#8F982E
RGBrgb(143, 152, 46)
HSLhsl(65, 54%, 39%)
HSVhsv(65, 70%, 60%)
CMYKcmyk(5.9%, 0%, 69.7%, 40.4%)
CIE-LABlab(60.33, -17.22, 51.99)
CIE-LCHlch(60.33, 54.76, 108.32°)
OKLaboklab(65.21% -0.0521 0.1164)
OKLCHoklch(65.21% 0.128 114.1)
XYZxyz(23.0497, 28.4938, 6.8699)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F982E #372E98
analogous
#986C2E #8F982E #5A982E
triadic
#8F982E #2E8F98 #982E8F
tetradic
#8F982E #2E986C #372E98 #982E5A
square
#8F982E #2E986C #372E98 #982E5A
split-complementary
#8F982E #2E5A98 #6C2E98
monochromatic
#373A12 #636920 #8F982E #B9C53E #CAD36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F982E#FFFFFF#000000##000000
##8F982E1.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)
#A3911D
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#988F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f982e;
/* rgb */ color: rgb(143, 152, 46);
/* oklch */ color: oklch(65.2% 0.128 114.1);
Tailwind
colors: {
  custom: {
    50: '#b3b66d',
    500: '#8f982e',
    950: '#000000',
  },
}
SCSS
$custom: #8f982e;
$custom-light: #b3b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f982e",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 65.094,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65212,
    "c": 0.12753,
    "h": 114.1
  },
  "luminance": 0.28493
}

Semantic roles & 50–950 ramp

primary
#8F982E
secondary
#6F68BA
accent
#4BDD57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F982E

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

Preview Lab → · Contrast checker → · Palette generator →

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