#9BA434#9BA434

#9BA434 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.134 H 113.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9BA434
RGBrgb(155, 164, 52)
HSLhsl(65, 52%, 42%)
HSVhsv(65, 68%, 64%)
CMYKcmyk(5.5%, 0%, 68.3%, 35.7%)
CIE-LABlab(64.78, -17.83, 54.40)
CIE-LCHlch(64.78, 57.24, 108.15°)
OKLaboklab(69.02% -0.054 0.1221)
OKLCHoklch(69.02% 0.134 113.8)
XYZxyz(27.4136, 33.7679, 8.3219)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA434 #3D34A4
analogous
#A47534 #9BA434 #63A434
triadic
#9BA434 #349BA4 #A4349B
tetradic
#9BA434 #34A475 #3D34A4 #A43463
square
#9BA434 #34A475 #3D34A4 #A43463
split-complementary
#9BA434 #3463A4 #7534A4
monochromatic
#434717 #6F7625 #9BA434 #BDC74E #CFD67D

Accessibility & contrast

On white

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

On black

7.75
#9BA434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA434
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA434#FFFFFF#000000##000000
##9BA4341.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C23
Deuteranopia (green-blind)
#B09E3C
Tritanopia (blue-blind)
#A59A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba434;
/* rgb */ color: rgb(155, 164, 52);
/* oklch */ color: oklch(69.0% 0.134 113.8);
Tailwind
colors: {
  custom: {
    50: '#bbbe72',
    500: '#9ba434',
    950: '#000000',
  },
}
SCSS
$custom: #9ba434;
$custom-light: #bbbe72;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba434",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 64.821,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69023,
    "c": 0.1335,
    "h": 113.8
  },
  "luminance": 0.33767
}

Semantic roles & 50–950 ramp

primary
#9BA434
secondary
#7B75BF
accent
#4CDB58
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA434

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

Preview Lab → · Contrast checker → · Palette generator →

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