#9FA92F#9FA92F

#9FA92F is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.5% C 0.141 H 114.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#9FA92F
RGBrgb(159, 169, 47)
HSLhsl(65, 56%, 42%)
HSVhsv(65, 72%, 66%)
CMYKcmyk(5.9%, 0%, 72.2%, 33.7%)
CIE-LABlab(66.48, -18.93, 58.10)
CIE-LCHlch(66.48, 61.10, 108.04°)
OKLaboklab(70.46% -0.0577 0.1289)
OKLCHoklch(70.46% 0.141 114.1)
XYZxyz(29.0000, 35.9527, 8.1007)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA92F #392FA9
analogous
#A9762F #9FA92F #62A92F
triadic
#9FA92F #2F9FA9 #A92F9F
tetradic
#9FA92F #2FA976 #392FA9 #A92F62
square
#9FA92F #2FA976 #392FA9 #A92F62
split-complementary
#9FA92F #2F62A9 #762FA9
monochromatic
#454914 #727922 #9FA92F #C2CC49 #D2DA79

Accessibility & contrast

On white

2.56
#9FA92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#9FA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA92F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA92F#FFFFFF#000000##000000
##9FA92F1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A119
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa92f;
/* rgb */ color: rgb(159, 169, 47);
/* oklch */ color: oklch(70.5% 0.141 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc270',
    500: '#9fa92f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa92f;
$custom-light: #bfc270;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa92f",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 64.918,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70457,
    "c": 0.14128,
    "h": 114.1
  },
  "luminance": 0.35952
}

Semantic roles & 50–950 ramp

primary
#9FA92F
secondary
#7872C2
accent
#48E054
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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