#9FA045#9FA045

#9FA045 is a light, moderate yellow. Relative luminance 0.329; OKLCH L 68.6% C 0.114 H 109.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9FA045
RGBrgb(159, 160, 69)
HSLhsl(61, 40%, 45%)
HSVhsv(61, 57%, 63%)
CMYKcmyk(0.6%, 0%, 56.9%, 37.3%)
CIE-LABlab(64.11, -12.85, 46.37)
CIE-LCHlch(64.11, 48.12, 105.49°)
OKLaboklab(68.62% -0.0384 0.1075)
OKLCHoklch(68.62% 0.114 109.6)
XYZxyz(27.9438, 32.9429, 10.5157)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA045 #4645A0
analogous
#A07345 #9FA045 #72A045
triadic
#9FA045 #459FA0 #A0459F
tetradic
#9FA045 #45A073 #4645A0 #A04572
square
#9FA045 #45A073 #4645A0 #A04572
split-complementary
#9FA045 #4572A0 #7345A0
monochromatic
#4A4A20 #757533 #9FA045 #BCBD65 #CFCF90

Accessibility & contrast

On white

2.77
#9FA045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9FA045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA045
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA045#FFFFFF#000000##000000
##9FA0451.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A3B
Deuteranopia (green-blind)
#AD9D4A
Tritanopia (blue-blind)
#A9978C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa045;
/* rgb */ color: rgb(159, 160, 69);
/* oklch */ color: oklch(68.6% 0.114 109.6);
Tailwind
colors: {
  custom: {
    50: '#bebb7c',
    500: '#9fa045',
    950: '#000000',
  },
}
SCSS
$custom: #9fa045;
$custom-light: #bebb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa045",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 60.659,
    "s": 39.738,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68619,
    "c": 0.1141,
    "h": 109.6
  },
  "luminance": 0.32942
}

Semantic roles & 50–950 ramp

primary
#9FA045
secondary
#8786BB
accent
#58D059
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #9FA045

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

Preview Lab → · Contrast checker → · Palette generator →

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