#9AAC2B#9AAC2B

#9AAC2B is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.7% C 0.149 H 117.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#9AAC2B
RGBrgb(154, 172, 43)
HSLhsl(68, 60%, 42%)
HSVhsv(68, 75%, 67%)
CMYKcmyk(10.5%, 0%, 75%, 32.5%)
CIE-LABlab(66.94, -22.77, 59.80)
CIE-LCHlch(66.94, 63.99, 110.84°)
OKLaboklab(70.72% -0.0685 0.132)
OKLCHoklch(70.72% 0.149 117.4)
XYZxyz(28.5157, 36.5498, 7.8376)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAC2B #3D2BAC
analogous
#AC7E2B #9AAC2B #5AAC2B
triadic
#9AAC2B #2B9AAC #AC2B9A
tetradic
#9AAC2B #2BAC7E #3D2BAC #AC2B5A
square
#9AAC2B #2BAC7E #3D2BAC #AC2B5A
split-complementary
#9AAC2B #2B5AAC #7E2BAC
monochromatic
#424A13 #6E7B1F #9AAC2B #BDD044 #CEDC75

Accessibility & contrast

On white

2.53
#9AAC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#9AAC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAC2B
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAC2B#FFFFFF#000000##000000
##9AAC2B1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20E
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#A4A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9aac2b;
/* rgb */ color: rgb(154, 172, 43);
/* oklch */ color: oklch(70.7% 0.149 117.4);
Tailwind
colors: {
  custom: {
    50: '#bbc46e',
    500: '#9aac2b',
    950: '#000000',
  },
}
SCSS
$custom: #9aac2b;
$custom-light: #bbc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aac2b",
  "rgb": {
    "r": 154,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 68.372,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70719,
    "c": 0.14869,
    "h": 117.4
  },
  "luminance": 0.36549
}

Semantic roles & 50–950 ramp

primary
#9AAC2B
secondary
#7B6FC4
accent
#45E35B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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