#9FA745#9FA745

#9FA745 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.122 H 113.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9FA745
RGBrgb(159, 167, 69)
HSLhsl(65, 42%, 46%)
HSVhsv(65, 59%, 65%)
CMYKcmyk(4.8%, 0%, 58.7%, 34.5%)
CIE-LABlab(66.09, -16.48, 48.58)
CIE-LCHlch(66.09, 51.30, 108.74°)
OKLaboklab(70.2% -0.0486 0.1122)
OKLCHoklch(70.2% 0.122 113.4)
XYZxyz(29.1916, 35.4386, 10.9316)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA745 #4D45A7
analogous
#A77E45 #9FA745 #6EA745
triadic
#9FA745 #459FA7 #A7459F
tetradic
#9FA745 #45A77E #4D45A7 #A7456E
square
#9FA745 #45A77E #4D45A7 #A7456E
split-complementary
#9FA745 #456EA7 #7E45A7
monochromatic
#4D5021 #767C33 #9FA745 #BAC168 #CED394

Accessibility & contrast

On white

2.60
#9FA745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9FA745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA745
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA745#FFFFFF#000000##000000
##9FA7451.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A03A
Deuteranopia (green-blind)
#B2A24B
Tritanopia (blue-blind)
#A99E92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa745;
/* rgb */ color: rgb(159, 167, 69);
/* oklch */ color: oklch(70.2% 0.122 113.4);
Tailwind
colors: {
  custom: {
    50: '#bec17c',
    500: '#9fa745',
    950: '#000000',
  },
}
SCSS
$custom: #9fa745;
$custom-light: #bec17c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa745",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 69
  },
  "hsl": {
    "h": 64.898,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70196,
    "c": 0.12227,
    "h": 113.4
  },
  "luminance": 0.35438
}

Semantic roles & 50–950 ramp

primary
#9FA745
secondary
#8E89BE
accent
#56D160
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA745

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

Preview Lab → · Contrast checker → · Palette generator →

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