#9FA148#9FA148

#9FA148 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.112 H 110.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9FA148
RGBrgb(159, 161, 72)
HSLhsl(61, 38%, 46%)
HSVhsv(61, 55%, 63%)
CMYKcmyk(1.2%, 0%, 55.3%, 36.9%)
CIE-LABlab(64.43, -13.13, 45.30)
CIE-LCHlch(64.43, 47.17, 106.16°)
OKLaboklab(68.88% -0.0388 0.1055)
OKLCHoklch(68.88% 0.112 110.2)
XYZxyz(28.2133, 33.3292, 11.0766)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA148 #4A48A1
analogous
#A17648 #9FA148 #72A148
triadic
#9FA148 #489FA1 #A1489F
tetradic
#9FA148 #48A176 #4A48A1 #A14872
square
#9FA148 #48A176 #4A48A1 #A14872
split-complementary
#9FA148 #4872A1 #7648A1
monochromatic
#4B4C22 #757735 #9FA148 #BABC6A #CECF94

Accessibility & contrast

On white

2.74
#9FA148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9FA148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA148
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA148#FFFFFF#000000##000000
##9FA1481.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B3F
Deuteranopia (green-blind)
#AD9E4D
Tritanopia (blue-blind)
#A9988D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa148;
/* rgb */ color: rgb(159, 161, 72);
/* oklch */ color: oklch(68.9% 0.112 110.2);
Tailwind
colors: {
  custom: {
    50: '#bdbc7e',
    500: '#9fa148',
    950: '#000000',
  },
}
SCSS
$custom: #9fa148;
$custom-light: #bdbc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa148",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 61.348,
    "s": 38.197,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68878,
    "c": 0.11244,
    "h": 110.2
  },
  "luminance": 0.33329
}

Semantic roles & 50–950 ramp

primary
#9FA148
secondary
#8B8ABB
accent
#5ACE5C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA148

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

Preview Lab → · Contrast checker → · Palette generator →

#9FA148 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva