#9FB22B#9FB22B

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

Color values

HEX#9FB22B
RGBrgb(159, 178, 43)
HSLhsl(68, 61%, 43%)
HSVhsv(68, 76%, 70%)
CMYKcmyk(10.7%, 0%, 75.8%, 30.2%)
CIE-LABlab(69.03, -23.62, 61.90)
CIE-LCHlch(69.03, 66.25, 110.88°)
OKLaboklab(72.5% -0.0711 0.1363)
OKLCHoklch(72.5% 0.154 117.6)
XYZxyz(30.6553, 39.3865, 8.2725)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB22B #3E2BB2
analogous
#B2812B #9FB22B #5CB22B
triadic
#9FB22B #2B9FB2 #B22B9F
tetradic
#9FB22B #2BB281 #3E2BB2 #B22B5C
square
#9FB22B #2BB281 #3E2BB2 #B22B5C
split-complementary
#9FB22B #2B5CB2 #812BB2
monochromatic
#474F13 #73811F #9FB22B #BFD348 #D0DF79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB22B#FFFFFF#000000##000000
##9FB22B1.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)
#BEA809
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#A9A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb22b;
/* rgb */ color: rgb(159, 178, 43);
/* oklch */ color: oklch(72.5% 0.154 117.6);
Tailwind
colors: {
  custom: {
    50: '#bfc96f',
    500: '#9fb22b',
    950: '#000000',
  },
}
SCSS
$custom: #9fb22b;
$custom-light: #bfc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb22b",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 68.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72495,
    "c": 0.15369,
    "h": 117.6
  },
  "luminance": 0.39386
}

Semantic roles & 50–950 ramp

primary
#9FB22B
secondary
#7E72C7
accent
#44E45A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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