#9FAC1F#9FAC1F

#9FAC1F is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.153 H 115.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9FAC1F
RGBrgb(159, 172, 31)
HSLhsl(66, 69%, 40%)
HSVhsv(66, 82%, 67%)
CMYKcmyk(7.6%, 0%, 82%, 32.5%)
CIE-LABlab(67.26, -21.11, 63.85)
CIE-LCHlch(67.26, 67.25, 108.30°)
OKLaboklab(71.05% -0.0651 0.1383)
OKLCHoklch(71.05% 0.153 115.2)
XYZxyz(29.2988, 36.9754, 6.8896)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC1F #2C1FAC
analogous
#AC731F #9FAC1F #58AC1F
triadic
#9FAC1F #1F9FAC #AC1F9F
tetradic
#9FAC1F #1FAC73 #2C1FAC #AC1F58
square
#9FAC1F #1FAC73 #2C1FAC #AC1F58
split-complementary
#9FAC1F #1F58AC #731FAC
monochromatic
#3F440C #6F7816 #9FAC1F #CAD92F #D7E363

Accessibility & contrast

On white

2.50
#9FAC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9FAC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC1F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC1F#FFFFFF#000000##000000
##9FAC1F1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#AAA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac1f;
/* rgb */ color: rgb(159, 172, 31);
/* oklch */ color: oklch(71.1% 0.153 115.2);
Tailwind
colors: {
  custom: {
    50: '#bfc469',
    500: '#9fac1f',
    950: '#000000',
  },
}
SCSS
$custom: #9fac1f;
$custom-light: #bfc469;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac1f",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 65.532,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.71053,
    "c": 0.15289,
    "h": 115.2
  },
  "luminance": 0.36975
}

Semantic roles & 50–950 ramp

primary
#9FAC1F
secondary
#695FC8
accent
#3CEC4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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