#9AFA5F#9AFA5F

#9AFA5F is a very light, highly saturated yellow-green. Relative luminance 0.761; OKLCH L 89.5% C 0.210 H 135.5°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#9AFA5F
RGBrgb(154, 250, 95)
HSLhsl(97, 94%, 68%)
HSVhsv(97, 62%, 98%)
CMYKcmyk(38.4%, 0%, 62%, 2%)
CIE-LABlab(89.89, -53.94, 63.64)
CIE-LCHlch(89.89, 83.42, 130.28°)
OKLaboklab(89.46% -0.1497 0.1472)
OKLCHoklch(89.46% 0.21 135.5)
XYZxyz(49.5764, 76.0650, 22.8940)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AFA5F #BF5FFA
analogous
#E8FA5F #9AFA5F #5FFA71
triadic
#9AFA5F #5F9AFA #FA5F9A
tetradic
#9AFA5F #5FE8FA #BF5FFA #FA715F
square
#9AFA5F #5FE8FA #BF5FFA #FA715F
split-complementary
#9AFA5F #715FFA #FA5FE8
monochromatic
#56D807 #75F824 #9AFA5F #BFFC9A #E5FED6

Accessibility & contrast

On white

1.30
#9AFA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#9AFA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AFA5F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AFA5F#FFFFFF#000000##000000
##9AFA5F1.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74C
Deuteranopia (green-blind)
#F5DF6B
Tritanopia (blue-blind)
#98F1D9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #9afa5f;
/* rgb */ color: rgb(154, 250, 95);
/* oklch */ color: oklch(89.5% 0.210 135.5);
Tailwind
colors: {
  custom: {
    50: '#bdfc92',
    500: '#9afa5f',
    950: '#000000',
  },
}
SCSS
$custom: #9afa5f;
$custom-light: #bdfc92;
$custom-dark: #000000;
JSON
{
  "hex": "#9afa5f",
  "rgb": {
    "r": 154,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 97.161,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89462,
    "c": 0.21001,
    "h": 135.5
  },
  "luminance": 0.76067
}

Semantic roles & 50–950 ramp

primary
#9AFA5F
secondary
#922BD2
accent
#00E68E
background
#FDFFFC
surface
#F9FFF4
border
#D2D7CE
text
#13170D
muted
#82857F

Preview Lab

Preview with #9AFA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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