#9FBA2A#9FBA2A

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

Color values

HEX#9FBA2A
RGBrgb(159, 186, 42)
HSLhsl(71, 63%, 45%)
HSVhsv(71, 77%, 73%)
CMYKcmyk(14.5%, 0%, 77.4%, 27.1%)
CIE-LABlab(71.32, -27.55, 64.33)
CIE-LCHlch(71.32, 69.99, 113.18°)
OKLaboklab(74.34% -0.082 0.1412)
OKLCHoklch(74.34% 0.163 120.1)
XYZxyz(32.2755, 42.6560, 8.7232)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA2A #452ABA
analogous
#BA8D2A #9FBA2A #57BA2A
triadic
#9FBA2A #2A9FBA #BA2A9F
tetradic
#9FBA2A #2ABA8D #452ABA #BA2A57
square
#9FBA2A #2ABA8D #452ABA #BA2A57
split-complementary
#9FBA2A #2A57BA #8D2ABA
monochromatic
#4A5613 #74881F #9FBA2A #BCD64B #CFE27D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9fba2a;
/* rgb */ color: rgb(159, 186, 42);
/* oklch */ color: oklch(74.3% 0.163 120.1);
Tailwind
colors: {
  custom: {
    50: '#bfce70',
    500: '#9fba2a',
    950: '#000000',
  },
}
SCSS
$custom: #9fba2a;
$custom-light: #bfce70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba2a",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 71.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74338,
    "c": 0.16333,
    "h": 120.1
  },
  "luminance": 0.42656
}

Semantic roles & 50–950 ramp

primary
#9FBA2A
secondary
#8676CA
accent
#42E660
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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