#9FBF45#9FBF45

#9FBF45 is a light, vivid yellow-green. Relative luminance 0.451; OKLCH L 75.7% C 0.152 H 122.6°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#9FBF45
RGBrgb(159, 191, 69)
HSLhsl(76, 49%, 51%)
HSVhsv(76, 64%, 75%)
CMYKcmyk(16.8%, 0%, 63.9%, 25.1%)
CIE-LABlab(72.93, -28.38, 56.04)
CIE-LCHlch(72.93, 62.82, 116.86°)
OKLaboklab(75.69% -0.0819 0.128)
OKLCHoklch(75.69% 0.152 122.6)
XYZxyz(34.0034, 45.0621, 12.5355)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBF45 #6545BF
analogous
#BFA245 #9FBF45 #62BF45
triadic
#9FBF45 #459FBF #BF459F
tetradic
#9FBF45 #45BFA2 #6545BF #BF4562
square
#9FBF45 #45BFA2 #6545BF #BF4562
split-complementary
#9FBF45 #4562BF #A245BF
monochromatic
#556623 #7A9433 #9FBF45 #B6CF73 #CEDEA0

Accessibility & contrast

On white

2.10
#9FBF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#9FBF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBF45
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBF45#FFFFFF#000000##000000
##9FBF451.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB435
Deuteranopia (green-blind)
#C6B34E
Tritanopia (blue-blind)
#A7B6A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9fbf45;
/* rgb */ color: rgb(159, 191, 69);
/* oklch */ color: oklch(75.7% 0.152 122.6);
Tailwind
colors: {
  custom: {
    50: '#bed27e',
    500: '#9fbf45',
    950: '#000000',
  },
}
SCSS
$custom: #9fbf45;
$custom-light: #bed27e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fbf45",
  "rgb": {
    "r": 159,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 75.738,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75693,
    "c": 0.15196,
    "h": 122.6
  },
  "luminance": 0.45062
}

Semantic roles & 50–950 ramp

primary
#9FBF45
secondary
#A395CB
accent
#4FD873
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9FBF45

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

Preview Lab → · Contrast checker → · Palette generator →

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