#9FA048#9FA048

#9FA048 is a light, moderate yellow. Relative luminance 0.330; OKLCH L 68.7% C 0.111 H 109.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9FA048
RGBrgb(159, 160, 72)
HSLhsl(61, 38%, 45%)
HSVhsv(61, 55%, 63%)
CMYKcmyk(0.6%, 0%, 55%, 37.3%)
CIE-LABlab(64.15, -12.61, 44.98)
CIE-LCHlch(64.15, 46.71, 105.66°)
OKLaboklab(68.65% -0.0373 0.1048)
OKLCHoklch(68.65% 0.111 109.6)
XYZxyz(28.0393, 32.9811, 11.0186)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA048 #4948A0
analogous
#A07548 #9FA048 #73A048
triadic
#9FA048 #489FA0 #A0489F
tetradic
#9FA048 #48A075 #4948A0 #A04873
square
#9FA048 #48A075 #4948A0 #A04873
split-complementary
#9FA048 #4873A0 #7548A0
monochromatic
#4B4C22 #757635 #9FA048 #BBBC69 #CECF94

Accessibility & contrast

On white

2.76
#9FA048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#9FA048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA048
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA048#FFFFFF#000000##000000
##9FA0481.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A3F
Deuteranopia (green-blind)
#AC9D4D
Tritanopia (blue-blind)
#A9978D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa048;
/* rgb */ color: rgb(159, 160, 72);
/* oklch */ color: oklch(68.7% 0.111 109.6);
Tailwind
colors: {
  custom: {
    50: '#bdbb7e',
    500: '#9fa048',
    950: '#000000',
  },
}
SCSS
$custom: #9fa048;
$custom-light: #bdbb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa048",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 60.682,
    "s": 37.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68654,
    "c": 0.11129,
    "h": 109.6
  },
  "luminance": 0.3298
}

Semantic roles & 50–950 ramp

primary
#9FA048
secondary
#8A89BB
accent
#5ACE5B
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9FA048

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

Preview Lab → · Contrast checker → · Palette generator →

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