#9FBA2E#9FBA2E

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

Color values

HEX#9FBA2E
RGBrgb(159, 186, 46)
HSLhsl(72, 60%, 45%)
HSVhsv(72, 75%, 73%)
CMYKcmyk(14.5%, 0%, 75.3%, 27.1%)
CIE-LABlab(71.34, -27.37, 63.08)
CIE-LCHlch(71.34, 68.77, 113.45°)
OKLaboklab(74.36% -0.0812 0.1393)
OKLCHoklch(74.36% 0.161 120.2)
XYZxyz(32.3507, 42.6861, 9.1192)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA2E #492EBA
analogous
#BA8F2E #9FBA2E #59BA2E
triadic
#9FBA2E #2E9FBA #BA2E9F
tetradic
#9FBA2E #2EBA8F #492EBA #BA2E59
square
#9FBA2E #2EBA8F #492EBA #BA2E59
split-complementary
#9FBA2E #2E59BA #8F2EBA
monochromatic
#4B5816 #758922 #9FBA2E #BBD451 #CEE082

Accessibility & contrast

On white

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

On black

9.54
#9FBA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBA2E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBA2E#FFFFFF#000000##000000
##9FBA2E1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fba2e;
/* rgb */ color: rgb(159, 186, 46);
/* oklch */ color: oklch(74.4% 0.161 120.2);
Tailwind
colors: {
  custom: {
    50: '#bfce72',
    500: '#9fba2e',
    950: '#000000',
  },
}
SCSS
$custom: #9fba2e;
$custom-light: #bfce72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba2e",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 71.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74361,
    "c": 0.16121,
    "h": 120.2
  },
  "luminance": 0.42686
}

Semantic roles & 50–950 ramp

primary
#9FBA2E
secondary
#8A7BC9
accent
#44E363
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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