#9BA031#9BA031

#9BA031 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.1% C 0.131 H 111.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9BA031
RGBrgb(155, 160, 49)
HSLhsl(63, 53%, 41%)
HSVhsv(63, 69%, 63%)
CMYKcmyk(3.1%, 0%, 69.4%, 37.3%)
CIE-LABlab(63.62, -15.94, 54.41)
CIE-LCHlch(63.62, 56.70, 106.33°)
OKLaboklab(68.09% -0.049 0.1216)
OKLCHoklch(68.09% 0.131 111.9)
XYZxyz(26.6436, 32.3326, 7.7424)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA031 #3631A0
analogous
#A06D31 #9BA031 #63A031
triadic
#9BA031 #319BA0 #A0319B
tetradic
#9BA031 #31A06D #3631A0 #A03163
square
#9BA031 #31A06D #3631A0 #A03163
split-complementary
#9BA031 #3163A0 #6D31A0
monochromatic
#404214 #6E7123 #9BA031 #C1C747 #D1D576

Accessibility & contrast

On white

2.81
#9BA031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#9BA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA031
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA031#FFFFFF#000000##000000
##9BA0311.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#A6968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba031;
/* rgb */ color: rgb(155, 160, 49);
/* oklch */ color: oklch(68.1% 0.131 111.9);
Tailwind
colors: {
  custom: {
    50: '#bbbb70',
    500: '#9ba031',
    950: '#000000',
  },
}
SCSS
$custom: #9ba031;
$custom-light: #bbbb70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba031",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 62.703,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68087,
    "c": 0.13114,
    "h": 111.9
  },
  "luminance": 0.32332
}

Semantic roles & 50–950 ramp

primary
#9BA031
secondary
#7370BD
accent
#4BDD52
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9BA031

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

Preview Lab → · Contrast checker → · Palette generator →

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