#9BAA2D#9BAA2D

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

Color values

HEX#9BAA2D
RGBrgb(155, 170, 45)
HSLhsl(67, 58%, 42%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.8%, 0%, 73.5%, 33.3%)
CIE-LABlab(66.45, -21.25, 58.67)
CIE-LCHlch(66.45, 62.40, 109.91°)
OKLaboklab(70.35% -0.0641 0.1299)
OKLCHoklch(70.35% 0.145 116.3)
XYZxyz(28.3667, 35.9079, 7.9187)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA2D #3C2DAA
analogous
#AA7B2D #9BAA2D #5DAA2D
triadic
#9BAA2D #2D9BAA #AA2D9B
tetradic
#9BAA2D #2DAA7B #3C2DAA #AA2D5D
square
#9BAA2D #2DAA7B #3C2DAA #AA2D5D
split-complementary
#9BAA2D #2D5DAA #7B2DAA
monochromatic
#434913 #6F7A20 #9BAA2D #BECE46 #CFDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BAA2D#FFFFFF#000000##000000
##9BAA2D1.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)
#B6A114
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9baa2d;
/* rgb */ color: rgb(155, 170, 45);
/* oklch */ color: oklch(70.3% 0.145 116.3);
Tailwind
colors: {
  custom: {
    50: '#bcc36f',
    500: '#9baa2d',
    950: '#000000',
  },
}
SCSS
$custom: #9baa2d;
$custom-light: #bcc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa2d",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 67.2,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.1449,
    "h": 116.3
  },
  "luminance": 0.35907
}

Semantic roles & 50–950 ramp

primary
#9BAA2D
secondary
#7A70C3
accent
#46E159
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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