#9BA22E#9BA22E

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

Color values

HEX#9BA22E
RGBrgb(155, 162, 46)
HSLhsl(64, 56%, 41%)
HSVhsv(64, 72%, 64%)
CMYKcmyk(4.3%, 0%, 71.6%, 36.5%)
CIE-LABlab(64.17, -17.14, 56.10)
CIE-LCHlch(64.17, 58.66, 106.99°)
OKLaboklab(68.52% -0.0526 0.1247)
OKLCHoklch(68.52% 0.135 112.9)
XYZxyz(26.9319, 33.0071, 7.5365)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA22E #352EA2
analogous
#A26F2E #9BA22E #61A22E
triadic
#9BA22E #2E9BA2 #A22E9B
tetradic
#9BA22E #2EA26F #352EA2 #A22E61
square
#9BA22E #2EA26F #352EA2 #A22E61
split-complementary
#9BA22E #2E61A2 #6F2EA2
monochromatic
#404313 #6D7220 #9BA22E #C2CA43 #D1D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA22E#FFFFFF#000000##000000
##9BA22E1.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)
#AE9A1A
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#A6988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba22e;
/* rgb */ color: rgb(155, 162, 46);
/* oklch */ color: oklch(68.5% 0.135 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbd6f',
    500: '#9ba22e',
    950: '#000000',
  },
}
SCSS
$custom: #9ba22e;
$custom-light: #bcbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba22e",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 63.621,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68521,
    "c": 0.13533,
    "h": 112.9
  },
  "luminance": 0.33006
}

Semantic roles & 50–950 ramp

primary
#9BA22E
secondary
#726DBF
accent
#49DF52
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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