#9FB540#9FB540

#9FB540 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 73.3% C 0.143 H 119.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#9FB540
RGBrgb(159, 181, 64)
HSLhsl(71, 48%, 48%)
HSVhsv(71, 65%, 71%)
CMYKcmyk(12.2%, 0%, 64.6%, 29%)
CIE-LABlab(70.03, -23.89, 55.03)
CIE-LCHlch(70.03, 60.00, 113.47°)
OKLaboklab(73.34% -0.0699 0.1252)
OKLCHoklch(73.34% 0.143 119.2)
XYZxyz(31.7479, 40.7890, 11.0501)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB540 #5640B5
analogous
#B59040 #9FB540 #64B540
triadic
#9FB540 #409FB5 #B5409F
tetradic
#9FB540 #40B590 #5640B5 #B54064
square
#9FB540 #40B590 #5640B5 #B54064
split-complementary
#9FB540 #4064B5 #9040B5
monochromatic
#505B20 #778830 #9FB540 #B7CA68 #CDDA96

Accessibility & contrast

On white

2.29
#9FB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#9FB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB540
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB540#FFFFFF#000000##000000
##9FB5401.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#BEAC48
Tritanopia (blue-blind)
#A8AC9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9fb540;
/* rgb */ color: rgb(159, 181, 64);
/* oklch */ color: oklch(73.3% 0.143 119.2);
Tailwind
colors: {
  custom: {
    50: '#becb7b',
    500: '#9fb540',
    950: '#000000',
  },
}
SCSS
$custom: #9fb540;
$custom-light: #becb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb540",
  "rgb": {
    "r": 159,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 71.282,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.14339,
    "h": 119.2
  },
  "luminance": 0.40789
}

Semantic roles & 50–950 ramp

primary
#9FB540
secondary
#968BC5
accent
#50D76A
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9FB540

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

Preview Lab → · Contrast checker → · Palette generator →

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