#9FBA2B#9FBA2B

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

Color values

HEX#9FBA2B
RGBrgb(159, 186, 43)
HSLhsl(71, 62%, 45%)
HSVhsv(71, 77%, 73%)
CMYKcmyk(14.5%, 0%, 76.9%, 27.1%)
CIE-LABlab(71.33, -27.51, 64.03)
CIE-LCHlch(71.33, 69.69, 113.25°)
OKLaboklab(74.34% -0.0818 0.1408)
OKLCHoklch(74.34% 0.163 120.2)
XYZxyz(32.2937, 42.6633, 8.8186)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA2B #462BBA
analogous
#BA8E2B #9FBA2B #57BA2B
triadic
#9FBA2B #2B9FBA #BA2B9F
tetradic
#9FBA2B #2BBA8E #462BBA #BA2B57
square
#9FBA2B #2BBA8E #462BBA #BA2B57
split-complementary
#9FBA2B #2B57BA #8E2BBA
monochromatic
#4A5714 #758820 #9FBA2B #BCD64C #CFE17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FBA2B#FFFFFF#000000##000000
##9FBA2B1.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)
#C6AF01
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#A8B09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fba2b;
/* rgb */ color: rgb(159, 186, 43);
/* oklch */ color: oklch(74.3% 0.163 120.2);
Tailwind
colors: {
  custom: {
    50: '#bfce70',
    500: '#9fba2b',
    950: '#000000',
  },
}
SCSS
$custom: #9fba2b;
$custom-light: #bfce70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba2b",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 71.329,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74343,
    "c": 0.16282,
    "h": 120.2
  },
  "luminance": 0.42663
}

Semantic roles & 50–950 ramp

primary
#9FBA2B
secondary
#8777CA
accent
#42E661
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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