#9BAA2A#9BAA2A

#9BAA2A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.147 H 116.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9BAA2A
RGBrgb(155, 170, 42)
HSLhsl(67, 60%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.8%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.43, -21.39, 59.69)
CIE-LCHlch(66.43, 63.40, 109.72°)
OKLaboklab(70.33% -0.0648 0.1316)
OKLCHoklch(70.33% 0.147 116.2)
XYZxyz(28.3110, 35.8856, 7.6253)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA2A #392AAA
analogous
#AA792A #9BAA2A #5BAA2A
triadic
#9BAA2A #2A9BAA #AA2A9B
tetradic
#9BAA2A #2AAA79 #392AAA #AA2A5B
square
#9BAA2A #2AAA79 #392AAA #AA2A5B
split-complementary
#9BAA2A #2A5BAA #792AAA
monochromatic
#424812 #6E791E #9BAA2A #BFD041 #D0DC72

Accessibility & contrast

On white

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

On black

8.18
#9BAA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA2A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA2A#FFFFFF#000000##000000
##9BAA2A1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10C
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9baa2a;
/* rgb */ color: rgb(155, 170, 42);
/* oklch */ color: oklch(70.3% 0.147 116.2);
Tailwind
colors: {
  custom: {
    50: '#bcc36e',
    500: '#9baa2a',
    950: '#000000',
  },
}
SCSS
$custom: #9baa2a;
$custom-light: #bcc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa2a",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 67.031,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7033,
    "c": 0.14665,
    "h": 116.2
  },
  "luminance": 0.35885
}

Semantic roles & 50–950 ramp

primary
#9BAA2A
secondary
#776CC3
accent
#44E457
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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