#8F993B#8F993B

#8F993B is a light, moderate yellow. Relative luminance 0.289; OKLCH L 65.6% C 0.119 H 114.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8F993B
RGBrgb(143, 153, 59)
HSLhsl(66, 44%, 42%)
HSVhsv(66, 61%, 60%)
CMYKcmyk(6.5%, 0%, 61.4%, 40%)
CIE-LABlab(60.73, -16.86, 46.86)
CIE-LCHlch(60.73, 49.81, 109.79°)
OKLaboklab(65.56% -0.0498 0.1076)
OKLCHoklch(65.56% 0.119 114.8)
XYZxyz(23.5089, 28.9382, 8.4840)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F993B #453B99
analogous
#99743B #8F993B #60993B
triadic
#8F993B #3B8F99 #993B8F
tetradic
#8F993B #3B9974 #453B99 #993B60
square
#8F993B #3B9974 #453B99 #993B60
split-complementary
#8F993B #3B6099 #743B99
monochromatic
#3C4119 #666D2A #8F993B #B2BD54 #C6CE80

Accessibility & contrast

On white

3.09
#8F993B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8F993B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F993B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F993B#FFFFFF#000000##000000
##8F993B1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39230
Deuteranopia (green-blind)
#A39341
Tritanopia (blue-blind)
#989185
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f993b;
/* rgb */ color: rgb(143, 153, 59);
/* oklch */ color: oklch(65.6% 0.119 114.8);
Tailwind
colors: {
  custom: {
    50: '#b2b675',
    500: '#8f993b',
    950: '#000000',
  },
}
SCSS
$custom: #8f993b;
$custom-light: #b2b675;
$custom-dark: #000000;
JSON
{
  "hex": "#8f993b",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 59
  },
  "hsl": {
    "h": 66.383,
    "s": 44.34,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65562,
    "c": 0.11853,
    "h": 114.8
  },
  "luminance": 0.28938
}

Semantic roles & 50–950 ramp

primary
#8F993B
secondary
#7F78B8
accent
#54D461
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8F993B

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

Preview Lab → · Contrast checker → · Palette generator →

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