#8F991F#8F991F

#8F991F is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.3% C 0.138 H 114.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8F991F
RGBrgb(143, 153, 31)
HSLhsl(65, 66%, 36%)
HSVhsv(65, 80%, 60%)
CMYKcmyk(6.5%, 0%, 79.7%, 40%)
CIE-LABlab(60.53, -18.46, 57.45)
CIE-LCHlch(60.53, 60.34, 107.82°)
OKLaboklab(65.35% -0.057 0.1252)
OKLCHoklch(65.35% 0.138 114.5)
XYZxyz(22.9669, 28.7215, 5.6300)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F991F #291F99
analogous
#99661F #8F991F #52991F
triadic
#8F991F #1F8F99 #991F8F
tetradic
#8F991F #1F9966 #291F99 #991F52
square
#8F991F #1F9966 #291F99 #991F52
split-complementary
#8F991F #1F5299 #661F99
monochromatic
#30330A #5F6615 #8F991F #BFCC29 #D2DD56

Accessibility & contrast

On white

3.11
#8F991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8F991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F991F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F991F#FFFFFF#000000##000000
##8F991F1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#999083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f991f;
/* rgb */ color: rgb(143, 153, 31);
/* oklch */ color: oklch(65.3% 0.138 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b666',
    500: '#8f991f',
    950: '#000000',
  },
}
SCSS
$custom: #8f991f;
$custom-light: #b3b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8f991f",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 64.918,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65347,
    "c": 0.13759,
    "h": 114.5
  },
  "luminance": 0.28721
}

Semantic roles & 50–950 ramp

primary
#8F991F
secondary
#5C54C0
accent
#3FE94D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F991F

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

Preview Lab → · Contrast checker → · Palette generator →

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