#9FBA34#9FBA34

#9FBA34 is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.4% C 0.158 H 120.4°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#9FBA34
RGBrgb(159, 186, 52)
HSLhsl(72, 56%, 47%)
HSVhsv(72, 72%, 73%)
CMYKcmyk(14.5%, 0%, 72%, 27.1%)
CIE-LABlab(71.38, -27.06, 61.06)
CIE-LCHlch(71.38, 66.79, 113.90°)
OKLaboklab(74.4% -0.0798 0.136)
OKLCHoklch(74.4% 0.158 120.4)
XYZxyz(32.4774, 42.7368, 9.7862)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA34 #4F34BA
analogous
#BA9234 #9FBA34 #5CBA34
triadic
#9FBA34 #349FBA #BA349F
tetradic
#9FBA34 #34BA92 #4F34BA #BA345C
square
#9FBA34 #34BA92 #4F34BA #BA345C
split-complementary
#9FBA34 #345CBA #9234BA
monochromatic
#4D5A19 #768A27 #9FBA34 #B9D15A #CDDE8A

Accessibility & contrast

On white

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

On black

9.55
#9FBA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBA34
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBA34#FFFFFF#000000##000000
##9FBA341.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1B
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#A8B0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fba34;
/* rgb */ color: rgb(159, 186, 52);
/* oklch */ color: oklch(74.4% 0.158 120.4);
Tailwind
colors: {
  custom: {
    50: '#bfce75',
    500: '#9fba34',
    950: '#000000',
  },
}
SCSS
$custom: #9fba34;
$custom-light: #bfce75;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba34",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 72.09,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74399,
    "c": 0.15772,
    "h": 120.4
  },
  "luminance": 0.42737
}

Semantic roles & 50–950 ramp

primary
#9FBA34
secondary
#9081C8
accent
#48E067
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FBA34

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

Preview Lab → · Contrast checker → · Palette generator →

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