#9BAA1D#9BAA1D

#9BAA1D 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#9BAA1D
RGBrgb(155, 170, 29)
HSLhsl(66, 71%, 39%)
HSVhsv(66, 83%, 67%)
CMYKcmyk(8.8%, 0%, 82.9%, 33.3%)
CIE-LABlab(66.37, -21.91, 63.49)
CIE-LCHlch(66.37, 67.16, 109.04°)
OKLaboklab(70.26% -0.0672 0.1374)
OKLCHoklch(70.26% 0.153 116.1)
XYZxyz(28.1149, 35.8072, 6.5926)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA1D #2C1DAA
analogous
#AA731D #9BAA1D #55AA1D
triadic
#9BAA1D #1D9BAA #AA1D9B
tetradic
#9BAA1D #1DAA73 #2C1DAA #AA1D55
square
#9BAA1D #1DAA73 #2C1DAA #AA1D55
split-complementary
#9BAA1D #1D55AA #731DAA
monochromatic
#3C410B #6B7614 #9BAA1D #C8DB2A #D5E45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAA1D#FFFFFF#000000##000000
##9BAA1D1.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)
#B5A22C
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9baa1d;
/* rgb */ color: rgb(155, 170, 29);
/* oklch */ color: oklch(70.3% 0.153 116.1);
Tailwind
colors: {
  custom: {
    50: '#bcc368',
    500: '#9baa1d',
    950: '#000000',
  },
}
SCSS
$custom: #9baa1d;
$custom-light: #bcc368;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa1d",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 29
  },
  "hsl": {
    "h": 66.383,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70263,
    "c": 0.15293,
    "h": 116.1
  },
  "luminance": 0.35807
}

Semantic roles & 50–950 ramp

primary
#9BAA1D
secondary
#675BC8
accent
#3AEE4D
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAA1D

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

Preview Lab → · Contrast checker → · Palette generator →

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