#9BA332#9BA332

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

Color values

HEX#9BA332
RGBrgb(155, 163, 50)
HSLhsl(64, 53%, 42%)
HSVhsv(64, 69%, 64%)
CMYKcmyk(4.9%, 0%, 69.3%, 36.1%)
CIE-LABlab(64.48, -17.43, 54.88)
CIE-LCHlch(64.48, 57.59, 107.62°)
OKLaboklab(68.78% -0.0531 0.1228)
OKLCHoklch(68.78% 0.134 113.4)
XYZxyz(27.1913, 33.3938, 8.0303)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA332 #3A32A3
analogous
#A37332 #9BA332 #63A332
triadic
#9BA332 #329BA3 #A3329B
tetradic
#9BA332 #32A373 #3A32A3 #A33263
square
#9BA332 #32A373 #3A32A3 #A33263
split-complementary
#9BA332 #3263A3 #7332A3
monochromatic
#424515 #6E7424 #9BA332 #BFC84B #CFD679

Accessibility & contrast

On white

2.73
#9BA332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9BA332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA332
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA332#FFFFFF#000000##000000
##9BA3321.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B20
Deuteranopia (green-blind)
#AF9E3A
Tritanopia (blue-blind)
#A5998D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba332;
/* rgb */ color: rgb(155, 163, 50);
/* oklch */ color: oklch(68.8% 0.134 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbe71',
    500: '#9ba332',
    950: '#000000',
  },
}
SCSS
$custom: #9ba332;
$custom-light: #bbbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba332",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 64.248,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68779,
    "c": 0.13378,
    "h": 113.4
  },
  "luminance": 0.33393
}

Semantic roles & 50–950 ramp

primary
#9BA332
secondary
#7872BF
accent
#4BDC56
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA332

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

Preview Lab → · Contrast checker → · Palette generator →

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