#9FAC3F#9FAC3F

#9FAC3F is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.133 H 115.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#9FAC3F
RGBrgb(159, 172, 63)
HSLhsl(67, 46%, 46%)
HSVhsv(67, 63%, 67%)
CMYKcmyk(7.6%, 0%, 63.4%, 32.5%)
CIE-LABlab(67.45, -19.47, 52.72)
CIE-LCHlch(67.45, 56.20, 110.27°)
OKLaboklab(71.27% -0.0577 0.1202)
OKLCHoklch(71.27% 0.133 115.6)
XYZxyz(29.9485, 37.2353, 10.3111)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC3F #4C3FAC
analogous
#AC823F #9FAC3F #68AC3F
triadic
#9FAC3F #3F9FAC #AC3F9F
tetradic
#9FAC3F #3FAC82 #4C3FAC #AC3F68
square
#9FAC3F #3FAC82 #4C3FAC #AC3F68
split-complementary
#9FAC3F #3F68AC #823FAC
monochromatic
#4C521E #767F2F #9FAC3F #BAC663 #CED68F

Accessibility & contrast

On white

2.49
#9FAC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#9FAC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC3F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC3F#FFFFFF#000000##000000
##9FAC3F1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A431
Deuteranopia (green-blind)
#B7A546
Tritanopia (blue-blind)
#A9A395
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac3f;
/* rgb */ color: rgb(159, 172, 63);
/* oklch */ color: oklch(71.3% 0.133 115.6);
Tailwind
colors: {
  custom: {
    50: '#bec479',
    500: '#9fac3f',
    950: '#000000',
  },
}
SCSS
$custom: #9fac3f;
$custom-light: #bec479;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac3f",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 67.156,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71272,
    "c": 0.1333,
    "h": 115.6
  },
  "luminance": 0.37235
}

Semantic roles & 50–950 ramp

primary
#9FAC3F
secondary
#8D86C1
accent
#52D662
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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