#9BA119#9BA119

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

Color values

HEX#9BA119
RGBrgb(155, 161, 25)
HSLhsl(63, 73%, 36%)
HSVhsv(63, 84%, 63%)
CMYKcmyk(3.7%, 0%, 84.5%, 36.9%)
CIE-LABlab(63.78, -17.48, 62.27)
CIE-LCHlch(63.78, 64.68, 105.68°)
OKLaboklab(68.18% -0.0553 0.1341)
OKLCHoklch(68.18% 0.145 112.4)
XYZxyz(26.4388, 32.5291, 5.8055)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA119 #1F19A1
analogous
#A16319 #9BA119 #57A119
triadic
#9BA119 #199BA1 #A1199B
tetradic
#9BA119 #19A163 #1F19A1 #A11957
square
#9BA119 #19A163 #1F19A1 #A11957
split-complementary
#9BA119 #1957A1 #6319A1
monochromatic
#353709 #686C11 #9BA119 #CED621 #DDE450

Accessibility & contrast

On white

2.80
#9BA119 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA119#FFFFFF#000000##000000
##9BA1191.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C28
Tritanopia (blue-blind)
#A69789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba119;
/* rgb */ color: rgb(155, 161, 25);
/* oklch */ color: oklch(68.2% 0.145 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc66',
    500: '#9ba119',
    950: '#000000',
  },
}
SCSS
$custom: #9ba119;
$custom-light: #bcbc66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba119",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 25
  },
  "hsl": {
    "h": 62.647,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.68176,
    "c": 0.145,
    "h": 112.4
  },
  "luminance": 0.32528
}

Semantic roles & 50–950 ramp

primary
#9BA119
secondary
#554FC6
accent
#38F040
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9BA119

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

Preview Lab → · Contrast checker → · Palette generator →

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