#9BA71E#9BA71E

#9BA71E is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.6% C 0.149 H 114.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9BA71E
RGBrgb(155, 167, 30)
HSLhsl(65, 70%, 39%)
HSVhsv(65, 82%, 65%)
CMYKcmyk(7.2%, 0%, 82%, 34.5%)
CIE-LABlab(65.51, -20.37, 62.48)
CIE-LCHlch(65.51, 65.72, 108.06°)
OKLaboklab(69.58% -0.0629 0.1354)
OKLCHoklch(69.58% 0.149 114.9)
XYZxyz(27.5715, 34.7002, 6.4734)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA71E #2A1EA7
analogous
#A76E1E #9BA71E #57A71E
triadic
#9BA71E #1E9BA7 #A71E9B
tetradic
#9BA71E #1EA76E #2A1EA7 #A71E57
square
#9BA71E #1EA76E #2A1EA7 #A71E57
split-complementary
#9BA71E #1E57A7 #6E1EA7
monochromatic
#3B3F0B #6B7315 #9BA71E #C9D92A #D6E25D

Accessibility & contrast

On white

2.64
#9BA71E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#9BA71E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA71E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA71E#FFFFFF#000000##000000
##9BA71E1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#A69D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba71e;
/* rgb */ color: rgb(155, 167, 30);
/* oklch */ color: oklch(69.6% 0.149 114.9);
Tailwind
colors: {
  custom: {
    50: '#bcc168',
    500: '#9ba71e',
    950: '#000000',
  },
}
SCSS
$custom: #9ba71e;
$custom-light: #bcc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba71e",
  "rgb": {
    "r": 155,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 65.255,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69575,
    "c": 0.14928,
    "h": 114.9
  },
  "luminance": 0.347
}

Semantic roles & 50–950 ramp

primary
#9BA71E
secondary
#645BC6
accent
#3BEC4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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