#9FA645#9FA645

#9FA645 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.0% C 0.121 H 112.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9FA645
RGBrgb(159, 166, 69)
HSLhsl(64, 41%, 46%)
HSVhsv(64, 58%, 65%)
CMYKcmyk(4.2%, 0%, 58.4%, 34.9%)
CIE-LABlab(65.81, -15.97, 48.26)
CIE-LCHlch(65.81, 50.84, 108.31°)
OKLaboklab(69.97% -0.0472 0.1115)
OKLCHoklch(69.97% 0.121 112.9)
XYZxyz(29.0091, 35.0736, 10.8708)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA645 #4C45A6
analogous
#A67C45 #9FA645 #6EA645
triadic
#9FA645 #459FA6 #A6459F
tetradic
#9FA645 #45A67C #4C45A6 #A6456E
square
#9FA645 #45A67C #4C45A6 #A6456E
split-complementary
#9FA645 #456EA6 #7C45A6
monochromatic
#4C5021 #767B33 #9FA645 #BAC068 #CED293

Accessibility & contrast

On white

2.62
#9FA645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9FA645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA645
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA645#FFFFFF#000000##000000
##9FA6451.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3A
Deuteranopia (green-blind)
#B1A14B
Tritanopia (blue-blind)
#A99D91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa645;
/* rgb */ color: rgb(159, 166, 69);
/* oklch */ color: oklch(70.0% 0.121 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec07c',
    500: '#9fa645',
    950: '#000000',
  },
}
SCSS
$custom: #9fa645;
$custom-light: #bec07c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa645",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 64.33,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6997,
    "c": 0.12108,
    "h": 112.9
  },
  "luminance": 0.35073
}

Semantic roles & 50–950 ramp

primary
#9FA645
secondary
#8D89BE
accent
#57D160
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA645

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

Preview Lab → · Contrast checker → · Palette generator →

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