#9FBA27#9FBA27

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

Color values

HEX#9FBA27
RGBrgb(159, 186, 39)
HSLhsl(71, 65%, 44%)
HSVhsv(71, 79%, 73%)
CMYKcmyk(14.5%, 0%, 79%, 27.1%)
CIE-LABlab(71.31, -27.68, 65.22)
CIE-LCHlch(71.31, 70.85, 113.00°)
OKLaboklab(74.32% -0.0826 0.1426)
OKLCHoklch(74.32% 0.165 120.1)
XYZxyz(32.2238, 42.6354, 8.4509)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA27 #4227BA
analogous
#BA8B27 #9FBA27 #56BA27
triadic
#9FBA27 #279FBA #BA279F
tetradic
#9FBA27 #27BA8B #4227BA #BA2756
square
#9FBA27 #27BA8B #4227BA #BA2756
split-complementary
#9FBA27 #2756BA #8B27BA
monochromatic
#495512 #74871C #9FBA27 #BDD846 #CFE379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FBA27#FFFFFF#000000##000000
##9FBA271.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)
#C3AF36
Tritanopia (blue-blind)
#A8B09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fba27;
/* rgb */ color: rgb(159, 186, 39);
/* oklch */ color: oklch(74.3% 0.165 120.1);
Tailwind
colors: {
  custom: {
    50: '#bfce6f',
    500: '#9fba27',
    950: '#000000',
  },
}
SCSS
$custom: #9fba27;
$custom-light: #bfce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba27",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 71.02,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74322,
    "c": 0.16479,
    "h": 120.1
  },
  "luminance": 0.42635
}

Semantic roles & 50–950 ramp

primary
#9FBA27
secondary
#8272CB
accent
#40E85F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA27

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

Preview Lab → · Contrast checker → · Palette generator →

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