#9BA431#9BA431

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

Color values

HEX#9BA431
RGBrgb(155, 164, 49)
HSLhsl(65, 54%, 42%)
HSVhsv(65, 70%, 64%)
CMYKcmyk(5.5%, 0%, 70.1%, 35.7%)
CIE-LABlab(64.76, -18.00, 55.55)
CIE-LCHlch(64.76, 58.39, 107.95°)
OKLaboklab(69% -0.0547 0.124)
OKLCHoklch(69% 0.136 113.8)
XYZxyz(27.3482, 33.7418, 7.9773)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA431 #3A31A4
analogous
#A47431 #9BA431 #61A431
triadic
#9BA431 #319BA4 #A4319B
tetradic
#9BA431 #31A474 #3A31A4 #A43161
square
#9BA431 #31A474 #3A31A4 #A43161
split-complementary
#9BA431 #3161A4 #7431A4
monochromatic
#424615 #6E7523 #9BA431 #BFC949 #CFD779

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA431#FFFFFF#000000##000000
##9BA4311.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)
#B09C1E
Deuteranopia (green-blind)
#B09E3A
Tritanopia (blue-blind)
#A59A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba431;
/* rgb */ color: rgb(155, 164, 49);
/* oklch */ color: oklch(69.0% 0.136 113.8);
Tailwind
colors: {
  custom: {
    50: '#bcbe71',
    500: '#9ba431',
    950: '#000000',
  },
}
SCSS
$custom: #9ba431;
$custom-light: #bcbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba431",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 64.696,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69,
    "c": 0.13558,
    "h": 113.8
  },
  "luminance": 0.33741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9BA431

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

Preview Lab → · Contrast checker → · Palette generator →

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