#9BA32F#9BA32F

#9BA32F is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.136 H 113.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9BA32F
RGBrgb(155, 163, 47)
HSLhsl(64, 55%, 41%)
HSVhsv(64, 71%, 64%)
CMYKcmyk(4.9%, 0%, 71.2%, 36.1%)
CIE-LABlab(64.46, -17.60, 56.01)
CIE-LCHlch(64.46, 58.71, 107.44°)
OKLaboklab(68.76% -0.0538 0.1247)
OKLCHoklch(68.76% 0.136 113.3)
XYZxyz(27.1286, 33.3688, 7.7005)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA32F #372FA3
analogous
#A3712F #9BA32F #61A32F
triadic
#9BA32F #2F9BA3 #A32F9B
tetradic
#9BA32F #2FA371 #372FA3 #A32F61
square
#9BA32F #2FA371 #372FA3 #A32F61
split-complementary
#9BA32F #2F61A3 #712FA3
monochromatic
#414414 #6E7321 #9BA32F #C0CA46 #D0D775

Accessibility & contrast

On white

2.74
#9BA32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9BA32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA32F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA32F#FFFFFF#000000##000000
##9BA32F1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1B
Deuteranopia (green-blind)
#AF9D38
Tritanopia (blue-blind)
#A5998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba32f;
/* rgb */ color: rgb(155, 163, 47);
/* oklch */ color: oklch(68.8% 0.136 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe6f',
    500: '#9ba32f',
    950: '#000000',
  },
}
SCSS
$custom: #9ba32f;
$custom-light: #bcbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba32f",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 64.138,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.13579,
    "h": 113.3
  },
  "luminance": 0.33368
}

Semantic roles & 50–950 ramp

primary
#9BA32F
secondary
#746FBF
accent
#49DF54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA32F

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

Preview Lab → · Contrast checker → · Palette generator →

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