#9FB22E#9FB22E

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

Color values

HEX#9FB22E
RGBrgb(159, 178, 46)
HSLhsl(69, 59%, 44%)
HSVhsv(69, 74%, 70%)
CMYKcmyk(10.7%, 0%, 74.2%, 30.2%)
CIE-LABlab(69.05, -23.47, 60.91)
CIE-LCHlch(69.05, 65.28, 111.08°)
OKLaboklab(72.51% -0.0704 0.1347)
OKLCHoklch(72.51% 0.152 117.6)
XYZxyz(30.7123, 39.4093, 8.5731)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB22E #412EB2
analogous
#B2832E #9FB22E #5DB22E
triadic
#9FB22E #2E9FB2 #B22E9F
tetradic
#9FB22E #2EB283 #412EB2 #B22E5D
square
#9FB22E #2EB283 #412EB2 #B22E5D
split-complementary
#9FB22E #2E5DB2 #832EB2
monochromatic
#485115 #748121 #9FB22E #BED14C #D0DD7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB22E#FFFFFF#000000##000000
##9FB22E1.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)
#BEA812
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb22e;
/* rgb */ color: rgb(159, 178, 46);
/* oklch */ color: oklch(72.5% 0.152 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc971',
    500: '#9fb22e',
    950: '#000000',
  },
}
SCSS
$custom: #9fb22e;
$custom-light: #bfc971;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb22e",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 68.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72513,
    "c": 0.15201,
    "h": 117.6
  },
  "luminance": 0.39409
}

Semantic roles & 50–950 ramp

primary
#9FB22E
secondary
#8176C6
accent
#46E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB22E

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

Preview Lab → · Contrast checker → · Palette generator →

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