#9FA548#9FA548

#9FA548 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.117 H 112.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9FA548
RGBrgb(159, 165, 72)
HSLhsl(64, 39%, 46%)
HSVhsv(64, 56%, 65%)
CMYKcmyk(3.6%, 0%, 56.4%, 35.3%)
CIE-LABlab(65.55, -15.21, 46.58)
CIE-LCHlch(65.55, 49.01, 108.08°)
OKLaboklab(69.78% -0.0447 0.1083)
OKLCHoklch(69.78% 0.117 112.4)
XYZxyz(28.9236, 34.7496, 11.3133)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA548 #4E48A5
analogous
#A57D48 #9FA548 #71A548
triadic
#9FA548 #489FA5 #A5489F
tetradic
#9FA548 #48A57D #4E48A5 #A54871
square
#9FA548 #48A57D #4E48A5 #A54871
split-complementary
#9FA548 #4871A5 #7D48A5
monochromatic
#4D5023 #767A35 #9FA548 #B9BF6C #CDD196

Accessibility & contrast

On white

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

On black

7.95
#9FA548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA548
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA548#FFFFFF#000000##000000
##9FA5481.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3E
Deuteranopia (green-blind)
#B0A04D
Tritanopia (blue-blind)
#A99C91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa548;
/* rgb */ color: rgb(159, 165, 72);
/* oklch */ color: oklch(69.8% 0.117 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbf7e',
    500: '#9fa548',
    950: '#000000',
  },
}
SCSS
$custom: #9fa548;
$custom-light: #bdbf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa548",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 63.871,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69778,
    "c": 0.11715,
    "h": 112.4
  },
  "luminance": 0.34749
}

Semantic roles & 50–950 ramp

primary
#9FA548
secondary
#8F8CBD
accent
#59CF60
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA548

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

Preview Lab → · Contrast checker → · Palette generator →

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