#8F982A#8F982A

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

Color values

HEX#8F982A
RGBrgb(143, 152, 42)
HSLhsl(65, 57%, 38%)
HSVhsv(65, 72%, 60%)
CMYKcmyk(5.9%, 0%, 72.4%, 40.4%)
CIE-LABlab(60.31, -17.44, 53.50)
CIE-LCHlch(60.31, 56.27, 108.05°)
OKLaboklab(65.18% -0.0532 0.1189)
OKLCHoklch(65.18% 0.13 114.1)
XYZxyz(22.9745, 28.4637, 6.4738)
Luminance0.2846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F982A #332A98
analogous
#986A2A #8F982A #58982A
triadic
#8F982A #2A8F98 #982A8F
tetradic
#8F982A #2A986A #332A98 #982A58
square
#8F982A #2A986A #332A98 #982A58
split-complementary
#8F982A #2A5898 #6A2A98
monochromatic
#353810 #62681D #8F982A #BCC837 #CCD567

Accessibility & contrast

On white

3.14
#8F982A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8F982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F982A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F982A#FFFFFF#000000##000000
##8F982A1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39016
Deuteranopia (green-blind)
#A39233
Tritanopia (blue-blind)
#998F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f982a;
/* rgb */ color: rgb(143, 152, 42);
/* oklch */ color: oklch(65.2% 0.130 114.1);
Tailwind
colors: {
  custom: {
    50: '#b3b66b',
    500: '#8f982a',
    950: '#000000',
  },
}
SCSS
$custom: #8f982a;
$custom-light: #b3b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f982a",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 64.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65182,
    "c": 0.13023,
    "h": 114.1
  },
  "luminance": 0.28463
}

Semantic roles & 50–950 ramp

primary
#8F982A
secondary
#6A62BB
accent
#48E054
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F982A

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

Preview Lab → · Contrast checker → · Palette generator →

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