#9FBA26#9FBA26

#9FBA26 is a light, vivid yellow-green. Relative luminance 0.426; OKLCH L 74.3% C 0.165 H 120.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#9FBA26
RGBrgb(159, 186, 38)
HSLhsl(71, 66%, 44%)
HSVhsv(71, 80%, 73%)
CMYKcmyk(14.5%, 0%, 79.6%, 27.1%)
CIE-LABlab(71.30, -27.72, 65.50)
CIE-LCHlch(71.30, 71.12, 112.94°)
OKLaboklab(74.32% -0.0827 0.1431)
OKLCHoklch(74.32% 0.165 120)
XYZxyz(32.2075, 42.6288, 8.3648)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA26 #4126BA
analogous
#BA8B26 #9FBA26 #55BA26
triadic
#9FBA26 #269FBA #BA269F
tetradic
#9FBA26 #26BA8B #4126BA #BA2655
square
#9FBA26 #26BA8B #4126BA #BA2655
split-complementary
#9FBA26 #2655BA #8B26BA
monochromatic
#485411 #74871C #9FBA26 #BED944 #D0E377

Accessibility & contrast

On white

2.20
#9FBA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#9FBA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBA26
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBA26#FFFFFF#000000##000000
##9FBA261.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#A8B09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fba26;
/* rgb */ color: rgb(159, 186, 38);
/* oklch */ color: oklch(74.3% 0.165 120.0);
Tailwind
colors: {
  custom: {
    50: '#bfce6e',
    500: '#9fba26',
    950: '#000000',
  },
}
SCSS
$custom: #9fba26;
$custom-light: #bfce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba26",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 70.946,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74317,
    "c": 0.16526,
    "h": 120
  },
  "luminance": 0.42629
}

Semantic roles & 50–950 ramp

primary
#9FBA26
secondary
#8171CB
accent
#3FE95E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA26

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

Preview Lab → · Contrast checker → · Palette generator →

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