#8F982C#8F982C

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

Color values

HEX#8F982C
RGBrgb(143, 152, 44)
HSLhsl(65, 55%, 38%)
HSVhsv(65, 71%, 60%)
CMYKcmyk(5.9%, 0%, 71.1%, 40.4%)
CIE-LABlab(60.32, -17.33, 52.75)
CIE-LCHlch(60.32, 55.53, 108.19°)
OKLaboklab(65.2% -0.0527 0.1177)
OKLCHoklch(65.2% 0.129 114.1)
XYZxyz(23.0112, 28.4784, 6.6671)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F982C #352C98
analogous
#986B2C #8F982C #59982C
triadic
#8F982C #2C8F98 #982C8F
tetradic
#8F982C #2C986B #352C98 #982C59
square
#8F982C #2C986B #352C98 #982C59
split-complementary
#8F982C #2C5998 #6B2C98
monochromatic
#363911 #62691E #8F982C #BBC63B #CBD46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F982C#FFFFFF#000000##000000
##8F982C1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f982c;
/* rgb */ color: rgb(143, 152, 44);
/* oklch */ color: oklch(65.2% 0.129 114.1);
Tailwind
colors: {
  custom: {
    50: '#b3b66c',
    500: '#8f982c',
    950: '#000000',
  },
}
SCSS
$custom: #8f982c;
$custom-light: #b3b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f982c",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 65,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65197,
    "c": 0.12891,
    "h": 114.1
  },
  "luminance": 0.28478
}

Semantic roles & 50–950 ramp

primary
#8F982C
secondary
#6C65BB
accent
#49DE56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F982C

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

Preview Lab → · Contrast checker → · Palette generator →

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