#9FA54B#9FA54B

#9FA54B is a light, moderate yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.114 H 112.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9FA54B
RGBrgb(159, 165, 75)
HSLhsl(64, 38%, 47%)
HSVhsv(64, 55%, 65%)
CMYKcmyk(3.6%, 0%, 54.5%, 35.3%)
CIE-LABlab(65.58, -14.96, 45.20)
CIE-LCHlch(65.58, 47.61, 108.31°)
OKLaboklab(69.81% -0.0437 0.1056)
OKLCHoklch(69.81% 0.114 112.5)
XYZxyz(29.0238, 34.7897, 11.8414)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA54B #514BA5
analogous
#A57E4B #9FA54B #72A54B
triadic
#9FA54B #4B9FA5 #A54B9F
tetradic
#9FA54B #4BA57E #514BA5 #A54B72
square
#9FA54B #4BA57E #514BA5 #A54B72
split-complementary
#9FA54B #4B72A5 #7E4BA5
monochromatic
#4E5125 #767B38 #9FA54B #B9BE6F #CDD19A

Accessibility & contrast

On white

2.64
#9FA54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9FA54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA54B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA54B#FFFFFF#000000##000000
##9FA54B1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E42
Deuteranopia (green-blind)
#B0A050
Tritanopia (blue-blind)
#A89C91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa54b;
/* rgb */ color: rgb(159, 165, 75);
/* oklch */ color: oklch(69.8% 0.114 112.5);
Tailwind
colors: {
  custom: {
    50: '#bdbf80',
    500: '#9fa54b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa54b;
$custom-light: #bdbf80;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa54b",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 75
  },
  "hsl": {
    "h": 64,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.11431,
    "h": 112.5
  },
  "luminance": 0.34789
}

Semantic roles & 50–950 ramp

primary
#9FA54B
secondary
#928FBD
accent
#5ACD62
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA54B

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

Preview Lab → · Contrast checker → · Palette generator →

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