#9FA34B#9FA34B

#9FA34B is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.112 H 111.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9FA34B
RGBrgb(159, 163, 75)
HSLhsl(63, 37%, 47%)
HSVhsv(63, 54%, 64%)
CMYKcmyk(2.5%, 0%, 54%, 36.1%)
CIE-LABlab(65.02, -13.92, 44.55)
CIE-LCHlch(65.02, 46.67, 107.35°)
OKLaboklab(69.36% -0.0407 0.1042)
OKLCHoklch(69.36% 0.112 111.3)
XYZxyz(28.6659, 34.0739, 11.7221)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA34B #4F4BA3
analogous
#A37B4B #9FA34B #73A34B
triadic
#9FA34B #4B9FA3 #A34B9F
tetradic
#9FA34B #4BA37B #4F4BA3 #A34B73
square
#9FA34B #4BA37B #4F4BA3 #A34B73
split-complementary
#9FA34B #4B73A3 #7B4BA3
monochromatic
#4D4F24 #767938 #9FA34B #B9BD6F #CDD099

Accessibility & contrast

On white

2.69
#9FA34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#9FA34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA34B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA34B#FFFFFF#000000##000000
##9FA34B1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C42
Deuteranopia (green-blind)
#AF9F50
Tritanopia (blue-blind)
#A99A8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa34b;
/* rgb */ color: rgb(159, 163, 75);
/* oklch */ color: oklch(69.4% 0.112 111.3);
Tailwind
colors: {
  custom: {
    50: '#bdbe80',
    500: '#9fa34b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa34b;
$custom-light: #bdbe80;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa34b",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 75
  },
  "hsl": {
    "h": 62.727,
    "s": 36.975,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69363,
    "c": 0.11192,
    "h": 111.3
  },
  "luminance": 0.34073
}

Semantic roles & 50–950 ramp

primary
#9FA34B
secondary
#908EBC
accent
#5BCD60
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA34B

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

Preview Lab → · Contrast checker → · Palette generator →

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