#9FB22A#9FB22A

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

Color values

HEX#9FB22A
RGBrgb(159, 178, 42)
HSLhsl(68, 62%, 43%)
HSVhsv(68, 76%, 70%)
CMYKcmyk(10.7%, 0%, 76.4%, 30.2%)
CIE-LABlab(69.03, -23.66, 62.21)
CIE-LCHlch(69.03, 66.56, 110.82°)
OKLaboklab(72.49% -0.0713 0.1368)
OKLCHoklch(72.49% 0.154 117.5)
XYZxyz(30.6371, 39.3792, 8.1770)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB22A #3D2AB2
analogous
#B2812A #9FB22A #5BB22A
triadic
#9FB22A #2A9FB2 #B22A9F
tetradic
#9FB22A #2AB281 #3D2AB2 #B22A5B
square
#9FB22A #2AB281 #3D2AB2 #B22A5B
split-complementary
#9FB22A #2A5BB2 #812AB2
monochromatic
#474F13 #73801E #9FB22A #C0D346 #D1DF77

Accessibility & contrast

On white

2.37
#9FB22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB22A#FFFFFF#000000##000000
##9FB22A1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA805
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb22a;
/* rgb */ color: rgb(159, 178, 42);
/* oklch */ color: oklch(72.5% 0.154 117.5);
Tailwind
colors: {
  custom: {
    50: '#bfc96f',
    500: '#9fb22a',
    950: '#000000',
  },
}
SCSS
$custom: #9fb22a;
$custom-light: #bfc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb22a",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 68.382,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72489,
    "c": 0.15423,
    "h": 117.5
  },
  "luminance": 0.39379
}

Semantic roles & 50–950 ramp

primary
#9FB22A
secondary
#7D71C7
accent
#43E55A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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