#9FB22F#9FB22F

#9FB22F is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.151 H 117.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9FB22F
RGBrgb(159, 178, 47)
HSLhsl(69, 58%, 44%)
HSVhsv(69, 74%, 70%)
CMYKcmyk(10.7%, 0%, 73.6%, 30.2%)
CIE-LABlab(69.05, -23.43, 60.57)
CIE-LCHlch(69.05, 64.94, 111.14°)
OKLaboklab(72.52% -0.0702 0.1342)
OKLCHoklch(72.52% 0.151 117.6)
XYZxyz(30.7323, 39.4173, 8.6781)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB22F #422FB2
analogous
#B2842F #9FB22F #5EB22F
triadic
#9FB22F #2F9FB2 #B22F9F
tetradic
#9FB22F #2FB284 #422FB2 #B22F5E
square
#9FB22F #2FB284 #422FB2 #B22F5E
split-complementary
#9FB22F #2F5EB2 #842FB2
monochromatic
#495115 #748222 #9FB22F #BDD04E #CFDD7E

Accessibility & contrast

On white

2.36
#9FB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9FB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB22F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB22F#FFFFFF#000000##000000
##9FB22F1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA814
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb22f;
/* rgb */ color: rgb(159, 178, 47);
/* oklch */ color: oklch(72.5% 0.151 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc971',
    500: '#9fb22f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb22f;
$custom-light: #bfc971;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb22f",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 68.702,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7252,
    "c": 0.15143,
    "h": 117.6
  },
  "luminance": 0.39417
}

Semantic roles & 50–950 ramp

primary
#9FB22F
secondary
#8277C6
accent
#46E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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