#8F9462#8F9462

#8F9462 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.070 H 113.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8F9462
RGBrgb(143, 148, 98)
HSLhsl(66, 20%, 48%)
HSVhsv(66, 34%, 58%)
CMYKcmyk(3.4%, 0%, 33.8%, 42%)
CIE-LABlab(59.80, -10.16, 25.89)
CIE-LCHlch(59.80, 27.81, 111.43°)
OKLaboklab(64.99% -0.0272 0.0642)
OKLCHoklch(64.99% 0.07 113)
XYZxyz(24.1223, 27.9016, 15.6677)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9462 #676294
analogous
#948062 #8F9462 #769462
triadic
#8F9462 #628F94 #94628F
tetradic
#8F9462 #629480 #676294 #946276
square
#8F9462 #629480 #676294 #946276
split-complementary
#8F9462 #627694 #806294
monochromatic
#484A31 #6B6F4A #8F9462 #AAAE85 #C4C7AA

Accessibility & contrast

On white

3.19
#8F9462 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#8F9462 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9462
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9462#FFFFFF#000000##000000
##8F94621.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8F5E
Deuteranopia (green-blind)
#9B9164
Tritanopia (blue-blind)
#958E87
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f9462;
/* rgb */ color: rgb(143, 148, 98);
/* oklch */ color: oklch(65.0% 0.070 113.0);
Tailwind
colors: {
  custom: {
    50: '#b0b38f',
    500: '#8f9462',
    950: '#000000',
  },
}
SCSS
$custom: #8f9462;
$custom-light: #b0b38f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9462",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 98
  },
  "hsl": {
    "h": 66,
    "s": 20.325,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64986,
    "c": 0.06971,
    "h": 113
  },
  "luminance": 0.27901
}

Semantic roles & 50–950 ramp

primary
#8F9462
secondary
#9F9DB5
accent
#6BBD73
background
#FAFBF8
surface
#F5F6F0
border
#CFD0CB
text
#10110C
muted
#7F807D

Preview Lab

Preview with #8F9462

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

Preview Lab → · Contrast checker → · Palette generator →

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