#9FA139#9FA139

#9FA139 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.125 H 110.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9FA139
RGBrgb(159, 161, 57)
HSLhsl(61, 48%, 43%)
HSVhsv(61, 65%, 63%)
CMYKcmyk(1.2%, 0%, 64.6%, 36.9%)
CIE-LABlab(64.29, -14.24, 51.93)
CIE-LCHlch(64.29, 53.85, 105.33°)
OKLaboklab(68.72% -0.0436 0.1176)
OKLCHoklch(68.72% 0.125 110.3)
XYZxyz(27.7823, 33.1568, 8.8065)
Luminance0.3316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA139 #3B39A1
analogous
#A16F39 #9FA139 #6BA139
triadic
#9FA139 #399FA1 #A1399F
tetradic
#9FA139 #39A16F #3B39A1 #A1396B
square
#9FA139 #39A16F #3B39A1 #A1396B
split-complementary
#9FA139 #396BA1 #6F39A1
monochromatic
#464719 #727429 #9FA139 #C1C355 #D1D382

Accessibility & contrast

On white

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

On black

7.63
#9FA139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA139
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA139#FFFFFF#000000##000000
##9FA1391.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2B
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#AA978C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa139;
/* rgb */ color: rgb(159, 161, 57);
/* oklch */ color: oklch(68.7% 0.125 110.3);
Tailwind
colors: {
  custom: {
    50: '#bebc75',
    500: '#9fa139',
    950: '#000000',
  },
}
SCSS
$custom: #9fa139;
$custom-light: #bebc75;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa139",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 57
  },
  "hsl": {
    "h": 61.154,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68723,
    "c": 0.12544,
    "h": 110.3
  },
  "luminance": 0.33156
}

Semantic roles & 50–950 ramp

primary
#9FA139
secondary
#7B79BC
accent
#50D753
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA139

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

Preview Lab → · Contrast checker → · Palette generator →

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