#9BA429#9BA429

#9BA429 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.141 H 113.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9BA429
RGBrgb(155, 164, 41)
HSLhsl(64, 60%, 40%)
HSVhsv(64, 75%, 64%)
CMYKcmyk(5.5%, 0%, 75%, 35.7%)
CIE-LABlab(64.71, -18.41, 58.40)
CIE-LCHlch(64.71, 61.24, 107.50°)
OKLaboklab(68.95% -0.0566 0.1287)
OKLCHoklch(68.95% 0.141 113.8)
XYZxyz(27.1941, 33.6801, 7.1658)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA429 #3229A4
analogous
#A46F29 #9BA429 #5EA429
triadic
#9BA429 #299BA4 #A4299B
tetradic
#9BA429 #29A46F #3229A4 #A4295E
square
#9BA429 #29A46F #3229A4 #A4295E
split-complementary
#9BA429 #295EA4 #6F29A4
monochromatic
#3E4211 #6D731D #9BA429 #C4CE3C #D2DA6D

Accessibility & contrast

On white

2.71
#9BA429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9BA429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA429
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA429#FFFFFF#000000##000000
##9BA4291.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0D
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#A69A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba429;
/* rgb */ color: rgb(155, 164, 41);
/* oklch */ color: oklch(68.9% 0.141 113.8);
Tailwind
colors: {
  custom: {
    50: '#bcbe6d',
    500: '#9ba429',
    950: '#000000',
  },
}
SCSS
$custom: #9ba429;
$custom-light: #bcbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba429",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 64.39,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68945,
    "c": 0.14057,
    "h": 113.8
  },
  "luminance": 0.3368
}

Semantic roles & 50–950 ramp

primary
#9BA429
secondary
#6E68C1
accent
#45E350
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA429

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

Preview Lab → · Contrast checker → · Palette generator →

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