#9BAF38#9BAF38

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

Color values

HEX#9BAF38
RGBrgb(155, 175, 56)
HSLhsl(70, 52%, 45%)
HSVhsv(70, 68%, 69%)
CMYKcmyk(11.4%, 0%, 68%, 31.4%)
CIE-LABlab(67.96, -23.12, 56.04)
CIE-LCHlch(67.96, 60.62, 112.42°)
OKLaboklab(71.58% -0.0683 0.1262)
OKLCHoklch(71.58% 0.144 118.4)
XYZxyz(29.5619, 37.9143, 9.5015)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF38 #4C38AF
analogous
#AF8738 #9BAF38 #5FAF38
triadic
#9BAF38 #389BAF #AF389B
tetradic
#9BAF38 #38AF87 #4C38AF #AF385F
square
#9BAF38 #38AF87 #4C38AF #AF385F
split-complementary
#9BAF38 #385FAF #8738AF
monochromatic
#49521A #728129 #9BAF38 #B7CA5A #CBD988

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAF38#FFFFFF#000000##000000
##9BAF381.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)
#BAA526
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#A4A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9baf38;
/* rgb */ color: rgb(155, 175, 56);
/* oklch */ color: oklch(71.6% 0.144 118.4);
Tailwind
colors: {
  custom: {
    50: '#bbc675',
    500: '#9baf38',
    950: '#000000',
  },
}
SCSS
$custom: #9baf38;
$custom-light: #bbc675;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf38",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 70.084,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71584,
    "c": 0.14352,
    "h": 118.4
  },
  "luminance": 0.37914
}

Semantic roles & 50–950 ramp

primary
#9BAF38
secondary
#8B80C3
accent
#4DDB65
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9BAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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