#9BA32D#9BA32D

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

Color values

HEX#9BA32D
RGBrgb(155, 163, 45)
HSLhsl(64, 57%, 41%)
HSVhsv(64, 72%, 64%)
CMYKcmyk(4.9%, 0%, 72.4%, 36.1%)
CIE-LABlab(64.45, -17.70, 56.74)
CIE-LCHlch(64.45, 59.44, 107.33°)
OKLaboklab(68.74% -0.0543 0.1259)
OKLCHoklch(68.74% 0.137 113.3)
XYZxyz(27.0892, 33.3530, 7.4929)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA32D #352DA3
analogous
#A3702D #9BA32D #60A32D
triadic
#9BA32D #2D9BA3 #A32D9B
tetradic
#9BA32D #2DA370 #352DA3 #A32D60
square
#9BA32D #2DA370 #352DA3 #A32D60
split-complementary
#9BA32D #2D60A3 #702DA3
monochromatic
#404313 #6D7320 #9BA32D #C2CB42 #D1D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA32D#FFFFFF#000000##000000
##9BA32D1.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)
#AF9B17
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#A5998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba32d;
/* rgb */ color: rgb(155, 163, 45);
/* oklch */ color: oklch(68.7% 0.137 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe6e',
    500: '#9ba32d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba32d;
$custom-light: #bcbe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba32d",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 45
  },
  "hsl": {
    "h": 64.068,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68742,
    "c": 0.13707,
    "h": 113.3
  },
  "luminance": 0.33352
}

Semantic roles & 50–950 ramp

primary
#9BA32D
secondary
#726CC0
accent
#48E052
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA32D

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

Preview Lab → · Contrast checker → · Palette generator →

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