#9BAF22#9BAF22

#9BAF22 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.4% C 0.156 H 117.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#9BAF22
RGBrgb(155, 175, 34)
HSLhsl(69, 67%, 41%)
HSVhsv(69, 81%, 69%)
CMYKcmyk(11.4%, 0%, 80.6%, 31.4%)
CIE-LABlab(67.83, -24.21, 63.42)
CIE-LCHlch(67.83, 67.89, 110.89°)
OKLaboklab(71.44% -0.0732 0.1381)
OKLCHoklch(71.44% 0.156 117.9)
XYZxyz(29.1370, 37.7443, 7.2635)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF22 #3622AF
analogous
#AF7C22 #9BAF22 #54AF22
triadic
#9BAF22 #229BAF #AF229B
tetradic
#9BAF22 #22AF7C #3622AF #AF2254
square
#9BAF22 #22AF7C #3622AF #AF2254
split-complementary
#9BAF22 #2254AF #7C22AF
monochromatic
#40490E #6E7C18 #9BAF22 #C1D836 #D1E269

Accessibility & contrast

On white

2.46
#9BAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#9BAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF22
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF22#FFFFFF#000000##000000
##9BAF221.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A630
Tritanopia (blue-blind)
#A5A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9baf22;
/* rgb */ color: rgb(155, 175, 34);
/* oklch */ color: oklch(71.4% 0.156 117.9);
Tailwind
colors: {
  custom: {
    50: '#bcc66b',
    500: '#9baf22',
    950: '#000000',
  },
}
SCSS
$custom: #9baf22;
$custom-light: #bcc66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf22",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 68.511,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71443,
    "c": 0.15628,
    "h": 117.9
  },
  "luminance": 0.37744
}

Semantic roles & 50–950 ramp

primary
#9BAF22
secondary
#7365C8
accent
#3DEA56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9BAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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