#9FA140#9FA140

#9FA140 is a light, moderate yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.120 H 110.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9FA140
RGBrgb(159, 161, 64)
HSLhsl(61, 43%, 44%)
HSVhsv(61, 60%, 63%)
CMYKcmyk(1.2%, 0%, 60.2%, 36.9%)
CIE-LABlab(64.35, -13.76, 48.93)
CIE-LCHlch(64.35, 50.83, 105.70°)
OKLaboklab(68.79% -0.0415 0.1123)
OKLCHoklch(68.79% 0.12 110.3)
XYZxyz(27.9691, 33.2315, 9.7905)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA140 #4240A1
analogous
#A17340 #9FA140 #6FA140
triadic
#9FA140 #409FA1 #A1409F
tetradic
#9FA140 #40A173 #4240A1 #A1406F
square
#9FA140 #40A173 #4240A1 #A1406F
split-complementary
#9FA140 #406FA1 #7340A1
monochromatic
#49491D #74752F #9FA140 #BDBF5F #CFD18B

Accessibility & contrast

On white

2.75
#9FA140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9FA140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA140
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA140#FFFFFF#000000##000000
##9FA1401.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#AE9D46
Tritanopia (blue-blind)
#A9988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa140;
/* rgb */ color: rgb(159, 161, 64);
/* oklch */ color: oklch(68.8% 0.120 110.3);
Tailwind
colors: {
  custom: {
    50: '#bebc79',
    500: '#9fa140',
    950: '#000000',
  },
}
SCSS
$custom: #9fa140;
$custom-light: #bebc79;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa140",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 61.237,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6879,
    "c": 0.1197,
    "h": 110.3
  },
  "luminance": 0.33231
}

Semantic roles & 50–950 ramp

primary
#9FA140
secondary
#8281BC
accent
#55D358
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA140

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

Preview Lab → · Contrast checker → · Palette generator →

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