#9FBA2C#9FBA2C

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

Color values

HEX#9FBA2C
RGBrgb(159, 186, 44)
HSLhsl(71, 62%, 45%)
HSVhsv(71, 76%, 73%)
CMYKcmyk(14.5%, 0%, 76.3%, 27.1%)
CIE-LABlab(71.33, -27.46, 63.72)
CIE-LCHlch(71.33, 69.39, 113.32°)
OKLaboklab(74.35% -0.0816 0.1403)
OKLCHoklch(74.35% 0.162 120.2)
XYZxyz(32.3122, 42.6707, 8.9164)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA2C #472CBA
analogous
#BA8E2C #9FBA2C #58BA2C
triadic
#9FBA2C #2C9FBA #BA2C9F
tetradic
#9FBA2C #2CBA8E #472CBA #BA2C58
square
#9FBA2C #2CBA8E #472CBA #BA2C58
split-complementary
#9FBA2C #2C58BA #8E2CBA
monochromatic
#4A5715 #758920 #9FBA2C #BBD54E #CEE180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9fba2c;
/* rgb */ color: rgb(159, 186, 44);
/* oklch */ color: oklch(74.3% 0.162 120.2);
Tailwind
colors: {
  custom: {
    50: '#bfce71',
    500: '#9fba2c',
    950: '#000000',
  },
}
SCSS
$custom: #9fba2c;
$custom-light: #bfce71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba2c",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 71.408,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74349,
    "c": 0.1623,
    "h": 120.2
  },
  "luminance": 0.42671
}

Semantic roles & 50–950 ramp

primary
#9FBA2C
secondary
#8878CA
accent
#43E562
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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