#9BAE21#9BAE21

#9BAE21 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.2% C 0.156 H 117.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#9BAE21
RGBrgb(155, 174, 33)
HSLhsl(68, 68%, 41%)
HSVhsv(68, 81%, 68%)
CMYKcmyk(10.9%, 0%, 81%, 31.8%)
CIE-LABlab(67.54, -23.75, 63.44)
CIE-LCHlch(67.54, 67.74, 110.53°)
OKLaboklab(71.21% -0.072 0.138)
OKLCHoklch(71.21% 0.156 117.6)
XYZxyz(28.9289, 37.3508, 7.1240)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAE21 #3421AE
analogous
#AE7A21 #9BAE21 #54AE21
triadic
#9BAE21 #219BAE #AE219B
tetradic
#9BAE21 #21AE7A #3421AE #AE2154
square
#9BAE21 #21AE7A #3421AE #AE2154
split-complementary
#9BAE21 #2154AE #7A21AE
monochromatic
#3F470D #6D7B17 #9BAE21 #C2D834 #D2E267

Accessibility & contrast

On white

2.48
#9BAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#9BAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAE21
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAE21#FFFFFF#000000##000000
##9BAE211.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#A5A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9bae21;
/* rgb */ color: rgb(155, 174, 33);
/* oklch */ color: oklch(71.2% 0.156 117.6);
Tailwind
colors: {
  custom: {
    50: '#bcc66a',
    500: '#9bae21',
    950: '#000000',
  },
}
SCSS
$custom: #9bae21;
$custom-light: #bcc66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9bae21",
  "rgb": {
    "r": 155,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 68.085,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.15562,
    "h": 117.6
  },
  "luminance": 0.3735
}

Semantic roles & 50–950 ramp

primary
#9BAE21
secondary
#7163C8
accent
#3DEB54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9BAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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