#9FA91F#9FA91F

#9FA91F is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.150 H 114.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9FA91F
RGBrgb(159, 169, 31)
HSLhsl(64, 69%, 39%)
HSVhsv(64, 82%, 66%)
CMYKcmyk(5.9%, 0%, 81.7%, 33.7%)
CIE-LABlab(66.40, -19.61, 63.11)
CIE-LCHlch(66.40, 66.08, 107.26°)
OKLaboklab(70.37% -0.0609 0.1367)
OKLCHoklch(70.37% 0.15 114)
XYZxyz(28.7343, 35.8464, 6.7014)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA91F #291FA9
analogous
#A96E1F #9FA91F #5AA91F
triadic
#9FA91F #1F9FA9 #A91F9F
tetradic
#9FA91F #1FA96E #291FA9 #A91F5A
square
#9FA91F #1FA96E #291FA9 #A91F5A
split-complementary
#9FA91F #1F5AA9 #6E1FA9
monochromatic
#3E420C #6E7516 #9FA91F #CCD82D #D9E260

Accessibility & contrast

On white

2.57
#9FA91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9FA91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA91F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA91F#FFFFFF#000000##000000
##9FA91F1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa91f;
/* rgb */ color: rgb(159, 169, 31);
/* oklch */ color: oklch(70.4% 0.150 114.0);
Tailwind
colors: {
  custom: {
    50: '#bfc269',
    500: '#9fa91f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa91f;
$custom-light: #bfc269;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa91f",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 64.348,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70366,
    "c": 0.1497,
    "h": 114
  },
  "luminance": 0.35846
}

Semantic roles & 50–950 ramp

primary
#9FA91F
secondary
#655DC7
accent
#3CEC49
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA91F

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

Preview Lab → · Contrast checker → · Palette generator →

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