#9FB140#9FB140

#9FB140 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.139 H 117.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#9FB140
RGBrgb(159, 177, 64)
HSLhsl(70, 47%, 47%)
HSVhsv(70, 64%, 69%)
CMYKcmyk(10.2%, 0%, 63.8%, 30.6%)
CIE-LABlab(68.89, -21.91, 53.82)
CIE-LCHlch(68.89, 58.11, 112.15°)
OKLaboklab(72.42% -0.0644 0.1226)
OKLCHoklch(72.42% 0.139 117.7)
XYZxyz(30.9462, 39.1857, 10.7828)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB140 #5240B1
analogous
#B18B40 #9FB140 #66B140
triadic
#9FB140 #409FB1 #B1409F
tetradic
#9FB140 #40B18B #5240B1 #B14066
square
#9FB140 #40B18B #5240B1 #B14066
split-complementary
#9FB140 #4066B1 #8B40B1
monochromatic
#4E571F #778430 #9FB140 #B8C866 #CDD893

Accessibility & contrast

On white

2.38
#9FB140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#9FB140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB140
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB140#FFFFFF#000000##000000
##9FB1401.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA832
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#A8A89A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb140;
/* rgb */ color: rgb(159, 177, 64);
/* oklch */ color: oklch(72.4% 0.139 117.7);
Tailwind
colors: {
  custom: {
    50: '#bec87a',
    500: '#9fb140',
    950: '#000000',
  },
}
SCSS
$custom: #9fb140;
$custom-light: #bec87a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb140",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 69.558,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72423,
    "c": 0.13851,
    "h": 117.7
  },
  "luminance": 0.39185
}

Semantic roles & 50–950 ramp

primary
#9FB140
secondary
#9389C3
accent
#51D767
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9FB140

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

Preview Lab → · Contrast checker → · Palette generator →

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