#9FB322#9FB322

#9FB322 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.159 H 117.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9FB322
RGBrgb(159, 179, 34)
HSLhsl(68, 68%, 42%)
HSVhsv(68, 81%, 70%)
CMYKcmyk(11.2%, 0%, 81%, 29.8%)
CIE-LABlab(69.27, -24.47, 64.81)
CIE-LCHlch(69.27, 69.28, 110.69°)
OKLaboklab(72.68% -0.0741 0.1409)
OKLCHoklch(72.68% 0.159 117.8)
XYZxyz(30.7077, 39.7270, 7.5635)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB322 #3622B3
analogous
#B37F22 #9FB322 #57B322
triadic
#9FB322 #229FB3 #B3229F
tetradic
#9FB322 #22B37F #3622B3 #B32257
square
#9FB322 #22B37F #3622B3 #B32257
split-complementary
#9FB322 #2257B3 #7F22B3
monochromatic
#444C0E #718018 #9FB322 #C3D939 #D3E36C

Accessibility & contrast

On white

2.35
#9FB322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#9FB322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB322
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB322#FFFFFF#000000##000000
##9FB3221.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BDAA31
Tritanopia (blue-blind)
#A9A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb322;
/* rgb */ color: rgb(159, 179, 34);
/* oklch */ color: oklch(72.7% 0.159 117.8);
Tailwind
colors: {
  custom: {
    50: '#bfc96c',
    500: '#9fb322',
    950: '#000000',
  },
}
SCSS
$custom: #9fb322;
$custom-light: #bfc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb322",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 68.276,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72678,
    "c": 0.15922,
    "h": 117.8
  },
  "luminance": 0.39727
}

Semantic roles & 50–950 ramp

primary
#9FB322
secondary
#7568C9
accent
#3DEB55
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB322

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

Preview Lab → · Contrast checker → · Palette generator →

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