#9BA129#9BA129

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

Color values

HEX#9BA129
RGBrgb(155, 161, 41)
HSLhsl(63, 59%, 40%)
HSVhsv(63, 75%, 63%)
CMYKcmyk(3.7%, 0%, 74.5%, 36.9%)
CIE-LABlab(63.85, -16.87, 57.60)
CIE-LCHlch(63.85, 60.02, 106.33°)
OKLaboklab(68.26% -0.0524 0.127)
OKLCHoklch(68.26% 0.137 112.4)
XYZxyz(26.6635, 32.6190, 6.9889)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA129 #2F29A1
analogous
#A16B29 #9BA129 #5FA129
triadic
#9BA129 #299BA1 #A1299B
tetradic
#9BA129 #29A16B #2F29A1 #A1295F
square
#9BA129 #29A16B #2F29A1 #A1295F
split-complementary
#9BA129 #295FA1 #6B29A1
monochromatic
#3D3F10 #6C701D #9BA129 #C6CD3A #D4D96B

Accessibility & contrast

On white

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

On black

7.52
#9BA129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA129
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA129#FFFFFF#000000##000000
##9BA1291.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba129;
/* rgb */ color: rgb(155, 161, 41);
/* oklch */ color: oklch(68.3% 0.137 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc6c',
    500: '#9ba129',
    950: '#000000',
  },
}
SCSS
$custom: #9ba129;
$custom-light: #bcbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba129",
  "rgb": {
    "r": 155,
    "g": 161,
    "b": 41
  },
  "hsl": {
    "h": 63,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68258,
    "c": 0.13732,
    "h": 112.4
  },
  "luminance": 0.32618
}

Semantic roles & 50–950 ramp

primary
#9BA129
secondary
#6A66C0
accent
#45E34D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA129

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

Preview Lab → · Contrast checker → · Palette generator →

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