#9FA348#9FA348

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

Color values

HEX#9FA348
RGBrgb(159, 163, 72)
HSLhsl(63, 39%, 46%)
HSVhsv(63, 56%, 64%)
CMYKcmyk(2.5%, 0%, 55.8%, 36.1%)
CIE-LABlab(64.99, -14.17, 45.94)
CIE-LCHlch(64.99, 48.08, 107.15°)
OKLaboklab(69.33% -0.0418 0.1069)
OKLCHoklch(69.33% 0.115 111.3)
XYZxyz(28.5656, 34.0338, 11.1940)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA348 #4C48A3
analogous
#A37948 #9FA348 #71A348
triadic
#9FA348 #489FA3 #A3489F
tetradic
#9FA348 #48A379 #4C48A3 #A34871
square
#9FA348 #48A379 #4C48A3 #A34871
split-complementary
#9FA348 #4871A3 #7948A3
monochromatic
#4C4E22 #767935 #9FA348 #BABD6B #CED095

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA348#FFFFFF#000000##000000
##9FA3481.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)
#AE9C3F
Deuteranopia (green-blind)
#AF9F4D
Tritanopia (blue-blind)
#A99A8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa348;
/* rgb */ color: rgb(159, 163, 72);
/* oklch */ color: oklch(69.3% 0.115 111.3);
Tailwind
colors: {
  custom: {
    50: '#bdbe7e',
    500: '#9fa348',
    950: '#000000',
  },
}
SCSS
$custom: #9fa348;
$custom-light: #bdbe7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa348",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 72
  },
  "hsl": {
    "h": 62.637,
    "s": 38.723,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69327,
    "c": 0.11478,
    "h": 111.3
  },
  "luminance": 0.34033
}

Semantic roles & 50–950 ramp

primary
#9FA348
secondary
#8D8BBC
accent
#59CF5E
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA348

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

Preview Lab → · Contrast checker → · Palette generator →

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