#9FBA28#9FBA28

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

Color values

HEX#9FBA28
RGBrgb(159, 186, 40)
HSLhsl(71, 65%, 44%)
HSVhsv(71, 78%, 73%)
CMYKcmyk(14.5%, 0%, 78.5%, 27.1%)
CIE-LABlab(71.31, -27.64, 64.93)
CIE-LCHlch(71.31, 70.57, 113.06°)
OKLaboklab(74.33% -0.0824 0.1422)
OKLCHoklch(74.33% 0.164 120.1)
XYZxyz(32.2406, 42.6421, 8.5393)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA28 #4328BA
analogous
#BA8C28 #9FBA28 #56BA28
triadic
#9FBA28 #289FBA #BA289F
tetradic
#9FBA28 #28BA8C #4328BA #BA2856
square
#9FBA28 #28BA8C #4328BA #BA2856
split-complementary
#9FBA28 #2856BA #8C28BA
monochromatic
#495512 #74881D #9FBA28 #BDD848 #CFE27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9fba28;
/* rgb */ color: rgb(159, 186, 40);
/* oklch */ color: oklch(74.3% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#bfce6f',
    500: '#9fba28',
    950: '#000000',
  },
}
SCSS
$custom: #9fba28;
$custom-light: #bfce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba28",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 71.096,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74327,
    "c": 0.16431,
    "h": 120.1
  },
  "luminance": 0.42642
}

Semantic roles & 50–950 ramp

primary
#9FBA28
secondary
#8473CA
accent
#40E85F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA28

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

Preview Lab → · Contrast checker → · Palette generator →

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