#9FA145#9FA145

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

Color values

HEX#9FA145
RGBrgb(159, 161, 69)
HSLhsl(61, 40%, 45%)
HSVhsv(61, 57%, 63%)
CMYKcmyk(1.2%, 0%, 57.1%, 36.9%)
CIE-LABlab(64.40, -13.37, 46.68)
CIE-LCHlch(64.40, 48.56, 105.99°)
OKLaboklab(68.84% -0.0398 0.1081)
OKLCHoklch(68.84% 0.115 110.2)
XYZxyz(28.1179, 33.2910, 10.5737)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA145 #4745A1
analogous
#A17545 #9FA145 #71A145
triadic
#9FA145 #459FA1 #A1459F
tetradic
#9FA145 #45A175 #4745A1 #A14571
square
#9FA145 #45A175 #4745A1 #A14571
split-complementary
#9FA145 #4571A1 #7545A1
monochromatic
#4A4B20 #757633 #9FA145 #BBBD66 #CED091

Accessibility & contrast

On white

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

On black

7.66
#9FA145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA145
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA145#FFFFFF#000000##000000
##9FA1451.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa145;
/* rgb */ color: rgb(159, 161, 69);
/* oklch */ color: oklch(68.8% 0.115 110.2);
Tailwind
colors: {
  custom: {
    50: '#bebc7c',
    500: '#9fa145',
    950: '#000000',
  },
}
SCSS
$custom: #9fa145;
$custom-light: #bebc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa145",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 61.304,
    "s": 40,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68844,
    "c": 0.11525,
    "h": 110.2
  },
  "luminance": 0.3329
}

Semantic roles & 50–950 ramp

primary
#9FA145
secondary
#8887BB
accent
#58D05B
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA145

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

Preview Lab → · Contrast checker → · Palette generator →

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