#9BA121#9BA121

#9BA121 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.142 H 112.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9BA121
RGBrgb(155, 161, 33)
HSLhsl(63, 66%, 38%)
HSVhsv(63, 80%, 63%)
CMYKcmyk(3.7%, 0%, 79.5%, 36.9%)
CIE-LABlab(63.81, -17.21, 60.14)
CIE-LCHlch(63.81, 62.55, 105.97°)
OKLaboklab(68.21% -0.054 0.1309)
OKLCHoklch(68.21% 0.142 112.4)
XYZxyz(26.5379, 32.5688, 6.3270)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA121 #2721A1
analogous
#A16721 #9BA121 #5BA121
triadic
#9BA121 #219BA1 #A1219B
tetradic
#9BA121 #21A167 #2721A1 #A1215B
square
#9BA121 #21A167 #2721A1 #A1215B
split-complementary
#9BA121 #215BA1 #6721A1
monochromatic
#393B0C #6A6E17 #9BA121 #CCD42C #D8DE5E

Accessibility & contrast

On white

2.79
#9BA121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#9BA121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA121
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA121#FFFFFF#000000##000000
##9BA1211.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#A6978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba121;
/* rgb */ color: rgb(155, 161, 33);
/* oklch */ color: oklch(68.2% 0.142 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc69',
    500: '#9ba121',
    950: '#000000',
  },
}
SCSS
$custom: #9ba121;
$custom-light: #bcbc69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba121",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 62.813,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.68213,
    "c": 0.14157,
    "h": 112.4
  },
  "luminance": 0.32568
}

Semantic roles & 50–950 ramp

primary
#9BA121
secondary
#605BC3
accent
#3FE947
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA121

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

Preview Lab → · Contrast checker → · Palette generator →

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