#9BAF39#9BAF39

#9BAF39 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.6% C 0.143 H 118.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#9BAF39
RGBrgb(155, 175, 57)
HSLhsl(70, 51%, 45%)
HSVhsv(70, 67%, 69%)
CMYKcmyk(11.4%, 0%, 67.4%, 31.4%)
CIE-LABlab(67.96, -23.06, 55.65)
CIE-LCHlch(67.96, 60.24, 112.50°)
OKLaboklab(71.59% -0.068 0.1256)
OKLCHoklch(71.59% 0.143 118.5)
XYZxyz(29.5866, 37.9242, 9.6316)
Luminance0.3792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF39 #4D39AF
analogous
#AF8839 #9BAF39 #60AF39
triadic
#9BAF39 #399BAF #AF399B
tetradic
#9BAF39 #39AF88 #4D39AF #AF3960
square
#9BAF39 #39AF88 #4D39AF #AF3960
split-complementary
#9BAF39 #3960AF #8839AF
monochromatic
#49531B #72812A #9BAF39 #B7CA5B #CBD98A

Accessibility & contrast

On white

2.45
#9BAF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#9BAF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF39
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF39#FFFFFF#000000##000000
##9BAF391.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA528
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#A4A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9baf39;
/* rgb */ color: rgb(155, 175, 57);
/* oklch */ color: oklch(71.6% 0.143 118.5);
Tailwind
colors: {
  custom: {
    50: '#bbc676',
    500: '#9baf39',
    950: '#000000',
  },
}
SCSS
$custom: #9baf39;
$custom-light: #bbc676;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf39",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 70.169,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71592,
    "c": 0.1428,
    "h": 118.5
  },
  "luminance": 0.37924
}

Semantic roles & 50–950 ramp

primary
#9BAF39
secondary
#8C81C3
accent
#4DDA65
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9BAF39

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

Preview Lab → · Contrast checker → · Palette generator →

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