#9FBA29#9FBA29

#9FBA29 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#9FBA29
RGBrgb(159, 186, 41)
HSLhsl(71, 64%, 45%)
HSVhsv(71, 78%, 73%)
CMYKcmyk(14.5%, 0%, 78%, 27.1%)
CIE-LABlab(71.32, -27.59, 64.63)
CIE-LCHlch(71.32, 70.28, 113.12°)
OKLaboklab(74.33% -0.0822 0.1417)
OKLCHoklch(74.33% 0.164 120.1)
XYZxyz(32.2579, 42.6490, 8.6301)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA29 #4429BA
analogous
#BA8C29 #9FBA29 #57BA29
triadic
#9FBA29 #299FBA #BA299F
tetradic
#9FBA29 #29BA8C #4429BA #BA2957
square
#9FBA29 #29BA8C #4429BA #BA2957
split-complementary
#9FBA29 #2957BA #8C29BA
monochromatic
#495613 #74881E #9FBA29 #BDD749 #CFE27B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FBA29#FFFFFF#000000##000000
##9FBA291.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: #9fba29;
/* rgb */ color: rgb(159, 186, 41);
/* oklch */ color: oklch(74.3% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#bfce6f',
    500: '#9fba29',
    950: '#000000',
  },
}
SCSS
$custom: #9fba29;
$custom-light: #bfce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba29",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 41
  },
  "hsl": {
    "h": 71.172,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74332,
    "c": 0.16383,
    "h": 120.1
  },
  "luminance": 0.42649
}

Semantic roles & 50–950 ramp

primary
#9FBA29
secondary
#8575CA
accent
#41E760
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA29

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

Preview Lab → · Contrast checker → · Palette generator →

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