#9BA22C#9BA22C

#9BA22C is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.137 H 112.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9BA22C
RGBrgb(155, 162, 44)
HSLhsl(64, 57%, 40%)
HSVhsv(64, 73%, 64%)
CMYKcmyk(4.3%, 0%, 72.8%, 36.5%)
CIE-LABlab(64.15, -17.24, 56.82)
CIE-LCHlch(64.15, 59.38, 106.88°)
OKLaboklab(68.51% -0.0531 0.1259)
OKLCHoklch(68.51% 0.137 112.9)
XYZxyz(26.8933, 32.9917, 7.3337)
Luminance0.3299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA22C #332CA2
analogous
#A26E2C #9BA22C #60A22C
triadic
#9BA22C #2C9BA2 #A22C9B
tetradic
#9BA22C #2CA26E #332CA2 #A22C60
square
#9BA22C #2CA26E #332CA2 #A22C60
split-complementary
#9BA22C #2C60A2 #6E2CA2
monochromatic
#3F4212 #6D721F #9BA22C #C3CB40 #D2D870

Accessibility & contrast

On white

2.76
#9BA22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#9BA22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA22C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA22C#FFFFFF#000000##000000
##9BA22C1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A16
Deuteranopia (green-blind)
#AE9D35
Tritanopia (blue-blind)
#A6988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba22c;
/* rgb */ color: rgb(155, 162, 44);
/* oklch */ color: oklch(68.5% 0.137 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbd6e',
    500: '#9ba22c',
    950: '#000000',
  },
}
SCSS
$custom: #9ba22c;
$custom-light: #bcbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba22c",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 63.559,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68507,
    "c": 0.1366,
    "h": 112.9
  },
  "luminance": 0.32991
}

Semantic roles & 50–950 ramp

primary
#9BA22C
secondary
#6F6ABF
accent
#47E150
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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