#9FB45F#9FB45F

#9FB45F is a light, moderate yellow-green. Relative luminance 0.408; OKLCH L 73.5% C 0.114 H 120.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#9FB45F
RGBrgb(159, 180, 95)
HSLhsl(75, 36%, 54%)
HSVhsv(75, 47%, 71%)
CMYKcmyk(11.7%, 0%, 47.2%, 29.4%)
CIE-LABlab(70.06, -20.66, 40.72)
CIE-LCHlch(70.06, 45.66, 116.90°)
OKLaboklab(73.47% -0.0579 0.0976)
OKLCHoklch(73.47% 0.114 120.7)
XYZxyz(32.6850, 40.8397, 16.9852)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB45F #745FB4
analogous
#B49F5F #9FB45F #75B45F
triadic
#9FB45F #5F9FB4 #B45F9F
tetradic
#9FB45F #5FB49F #745FB4 #B45F75
square
#9FB45F #5FB49F #745FB4 #B45F75
split-complementary
#9FB45F #5F75B4 #9F5FB4
monochromatic
#5A6831 #7E9244 #9FB45F #B8C889 #D1DBB2

Accessibility & contrast

On white

2.29
#9FB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#9FB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB45F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB45F#FFFFFF#000000##000000
##9FB45F1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAC58
Deuteranopia (green-blind)
#BBAB64
Tritanopia (blue-blind)
#A6ACA0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb45f;
/* rgb */ color: rgb(159, 180, 95);
/* oklch */ color: oklch(73.5% 0.114 120.7);
Tailwind
colors: {
  custom: {
    50: '#bdca8e',
    500: '#9fb45f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb45f;
$custom-light: #bdca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb45f",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 74.824,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73473,
    "c": 0.11351,
    "h": 120.7
  },
  "luminance": 0.4084
}

Semantic roles & 50–950 ramp

primary
#9FB45F
secondary
#AEA5CA
accent
#5CCC77
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9FB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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