#9BAD21#9BAD21

#9BAD21 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.0% C 0.155 H 117.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#9BAD21
RGBrgb(155, 173, 33)
HSLhsl(68, 68%, 40%)
HSVhsv(68, 81%, 68%)
CMYKcmyk(10.4%, 0%, 80.9%, 32.2%)
CIE-LABlab(67.25, -23.26, 63.19)
CIE-LCHlch(67.25, 67.33, 110.21°)
OKLaboklab(70.97% -0.0707 0.1374)
OKLCHoklch(70.97% 0.155 117.2)
XYZxyz(28.7364, 36.9659, 7.0598)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAD21 #3321AD
analogous
#AD7921 #9BAD21 #55AD21
triadic
#9BAD21 #219BAD #AD219B
tetradic
#9BAD21 #21AD79 #3321AD #AD2155
square
#9BAD21 #21AD79 #3321AD #AD2155
split-complementary
#9BAD21 #2155AD #7921AD
monochromatic
#3F460D #6D7A17 #9BAD21 #C3D833 #D2E266

Accessibility & contrast

On white

2.50
#9BAD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#9BAD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAD21
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAD21#FFFFFF#000000##000000
##9BAD211.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A42F
Tritanopia (blue-blind)
#A5A394
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9bad21;
/* rgb */ color: rgb(155, 173, 33);
/* oklch */ color: oklch(71.0% 0.155 117.2);
Tailwind
colors: {
  custom: {
    50: '#bcc56a',
    500: '#9bad21',
    950: '#000000',
  },
}
SCSS
$custom: #9bad21;
$custom-light: #bcc56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9bad21",
  "rgb": {
    "r": 155,
    "g": 173,
    "b": 33
  },
  "hsl": {
    "h": 67.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70975,
    "c": 0.15451,
    "h": 117.2
  },
  "luminance": 0.36966
}

Semantic roles & 50–950 ramp

primary
#9BAD21
secondary
#6F62C7
accent
#3DEB53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAD21

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

Preview Lab → · Contrast checker → · Palette generator →

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