#9FA922#9FA922

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

Color values

HEX#9FA922
RGBrgb(159, 169, 34)
HSLhsl(64, 67%, 40%)
HSVhsv(64, 80%, 66%)
CMYKcmyk(5.9%, 0%, 79.9%, 33.7%)
CIE-LABlab(66.42, -19.50, 62.28)
CIE-LCHlch(66.42, 65.26, 107.38°)
OKLaboklab(70.38% -0.0604 0.1355)
OKLCHoklch(70.38% 0.148 114)
XYZxyz(28.7757, 35.8629, 6.9195)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA922 #2C22A9
analogous
#A96F22 #9FA922 #5CA922
triadic
#9FA922 #229FA9 #A9229F
tetradic
#9FA922 #22A96F #2C22A9 #A9225C
square
#9FA922 #22A96F #2C22A9 #A9225C
split-complementary
#9FA922 #225CA9 #6F22A9
monochromatic
#3F430D #6F7618 #9FA922 #CAD632 #D7E065

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA922#FFFFFF#000000##000000
##9FA9221.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)
#B6A32F
Tritanopia (blue-blind)
#AA9F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa922;
/* rgb */ color: rgb(159, 169, 34);
/* oklch */ color: oklch(70.4% 0.148 114.0);
Tailwind
colors: {
  custom: {
    50: '#bfc26a',
    500: '#9fa922',
    950: '#000000',
  },
}
SCSS
$custom: #9fa922;
$custom-light: #bfc26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa922",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 64.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.7038,
    "c": 0.14836,
    "h": 114
  },
  "luminance": 0.35862
}

Semantic roles & 50–950 ramp

primary
#9FA922
secondary
#6961C5
accent
#3EE94B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA922

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

Preview Lab → · Contrast checker → · Palette generator →

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