#9BAA1E#9BAA1E

#9BAA1E is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.153 H 116.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#9BAA1E
RGBrgb(155, 170, 30)
HSLhsl(66, 70%, 39%)
HSVhsv(66, 82%, 67%)
CMYKcmyk(8.8%, 0%, 82.4%, 33.3%)
CIE-LABlab(66.38, -21.87, 63.23)
CIE-LCHlch(66.38, 66.91, 109.08°)
OKLaboklab(70.27% -0.0671 0.137)
OKLCHoklch(70.27% 0.153 116.1)
XYZxyz(28.1274, 35.8122, 6.6588)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA1E #2D1EAA
analogous
#AA731E #9BAA1E #55AA1E
triadic
#9BAA1E #1E9BAA #AA1E9B
tetradic
#9BAA1E #1EAA73 #2D1EAA #AA1E55
square
#9BAA1E #1EAA73 #2D1EAA #AA1E55
split-complementary
#9BAA1E #1E55AA #731EAA
monochromatic
#3C420C #6C7615 #9BAA1E #C7DA2C #D5E360

Accessibility & contrast

On white

2.57
#9BAA1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#9BAA1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA1E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA1E#FFFFFF#000000##000000
##9BAA1E1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9baa1e;
/* rgb */ color: rgb(155, 170, 30);
/* oklch */ color: oklch(70.3% 0.153 116.1);
Tailwind
colors: {
  custom: {
    50: '#bcc369',
    500: '#9baa1e',
    950: '#000000',
  },
}
SCSS
$custom: #9baa1e;
$custom-light: #bcc369;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa1e",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 30
  },
  "hsl": {
    "h": 66.429,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.15251,
    "h": 116.1
  },
  "luminance": 0.35812
}

Semantic roles & 50–950 ramp

primary
#9BAA1E
secondary
#685CC7
accent
#3BED4E
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAA1E

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

Preview Lab → · Contrast checker → · Palette generator →

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