#9BAA2E#9BAA2E

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

Color values

HEX#9BAA2E
RGBrgb(155, 170, 46)
HSLhsl(67, 57%, 42%)
HSVhsv(67, 73%, 67%)
CMYKcmyk(8.8%, 0%, 72.9%, 33.3%)
CIE-LABlab(66.46, -21.20, 58.32)
CIE-LCHlch(66.46, 62.06, 109.97°)
OKLaboklab(70.36% -0.0639 0.1294)
OKLCHoklch(70.36% 0.144 116.3)
XYZxyz(28.3862, 35.9157, 8.0213)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA2E #3D2EAA
analogous
#AA7B2E #9BAA2E #5DAA2E
triadic
#9BAA2E #2E9BAA #AA2E9B
tetradic
#9BAA2E #2EAA7B #3D2EAA #AA2E5D
square
#9BAA2E #2EAA7B #3D2EAA #AA2E5D
split-complementary
#9BAA2E #2E5DAA #7B2EAA
monochromatic
#434A14 #6F7A21 #9BAA2E #BDCD48 #CFDA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAA2E#FFFFFF#000000##000000
##9BAA2E1.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)
#B6A116
Deuteranopia (green-blind)
#B5A238
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9baa2e;
/* rgb */ color: rgb(155, 170, 46);
/* oklch */ color: oklch(70.4% 0.144 116.3);
Tailwind
colors: {
  custom: {
    50: '#bcc370',
    500: '#9baa2e',
    950: '#000000',
  },
}
SCSS
$custom: #9baa2e;
$custom-light: #bcc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa2e",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 67.258,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70356,
    "c": 0.1443,
    "h": 116.3
  },
  "luminance": 0.35915
}

Semantic roles & 50–950 ramp

primary
#9BAA2E
secondary
#7B71C3
accent
#47E15A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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