#9BA82A#9BA82A

#9BA82A is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.9% C 0.144 H 115.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9BA82A
RGBrgb(155, 168, 42)
HSLhsl(66, 60%, 41%)
HSVhsv(66, 75%, 66%)
CMYKcmyk(7.7%, 0%, 75%, 34.1%)
CIE-LABlab(65.86, -20.39, 59.15)
CIE-LCHlch(65.86, 62.56, 109.02°)
OKLaboklab(69.87% -0.062 0.1304)
OKLCHoklch(69.87% 0.144 115.4)
XYZxyz(27.9389, 35.1415, 7.5012)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA82A #372AA8
analogous
#A8762A #9BA82A #5CA82A
triadic
#9BA82A #2A9BA8 #A82A9B
tetradic
#9BA82A #2AA876 #372AA8 #A82A5C
square
#9BA82A #2AA876 #372AA8 #A82A5C
split-complementary
#9BA82A #2A5CA8 #762AA8
monochromatic
#414612 #6E771E #9BA82A #C0CF40 #D0DB71

Accessibility & contrast

On white

2.62
#9BA82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#9BA82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA82A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA82A#FFFFFF#000000##000000
##9BA82A1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#A59E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba82a;
/* rgb */ color: rgb(155, 168, 42);
/* oklch */ color: oklch(69.9% 0.144 115.4);
Tailwind
colors: {
  custom: {
    50: '#bcc16d',
    500: '#9ba82a',
    950: '#000000',
  },
}
SCSS
$custom: #9ba82a;
$custom-light: #bcc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba82a",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 66.19,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6987,
    "c": 0.14441,
    "h": 115.4
  },
  "luminance": 0.35141
}

Semantic roles & 50–950 ramp

primary
#9BA82A
secondary
#746BC3
accent
#45E355
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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