#9FB22C#9FB22C

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

Color values

HEX#9FB22C
RGBrgb(159, 178, 44)
HSLhsl(69, 60%, 44%)
HSVhsv(69, 75%, 70%)
CMYKcmyk(10.7%, 0%, 75.3%, 30.2%)
CIE-LABlab(69.04, -23.57, 61.57)
CIE-LCHlch(69.04, 65.93, 110.95°)
OKLaboklab(72.5% -0.0709 0.1358)
OKLCHoklch(72.5% 0.153 117.6)
XYZxyz(30.6738, 39.3939, 8.3703)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB22C #3F2CB2
analogous
#B2822C #9FB22C #5CB22C
triadic
#9FB22C #2C9FB2 #B22C9F
tetradic
#9FB22C #2CB282 #3F2CB2 #B22C5C
square
#9FB22C #2CB282 #3F2CB2 #B22C5C
split-complementary
#9FB22C #2C5CB2 #822CB2
monochromatic
#475014 #738120 #9FB22C #BFD249 #D0DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB22C#FFFFFF#000000##000000
##9FB22C1.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)
#BEA80C
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb22c;
/* rgb */ color: rgb(159, 178, 44);
/* oklch */ color: oklch(72.5% 0.153 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc970',
    500: '#9fb22c',
    950: '#000000',
  },
}
SCSS
$custom: #9fb22c;
$custom-light: #bfc970;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb22c",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 68.507,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72501,
    "c": 0.15314,
    "h": 117.6
  },
  "luminance": 0.39394
}

Semantic roles & 50–950 ramp

primary
#9FB22C
secondary
#7F73C6
accent
#44E45B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB22C

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

Preview Lab → · Contrast checker → · Palette generator →

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