#9AAA2F#9AAA2F

#9AAA2F is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.144 H 116.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#9AAA2F
RGBrgb(154, 170, 47)
HSLhsl(68, 57%, 43%)
HSVhsv(68, 72%, 67%)
CMYKcmyk(9.4%, 0%, 72.4%, 33.3%)
CIE-LABlab(66.39, -21.57, 57.87)
CIE-LCHlch(66.39, 61.76, 110.44°)
OKLaboklab(70.28% -0.0648 0.1286)
OKLCHoklch(70.28% 0.144 116.7)
XYZxyz(28.2149, 35.8251, 8.1174)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA2F #3F2FAA
analogous
#AA7D2F #9AAA2F #5CAA2F
triadic
#9AAA2F #2F9AAA #AA2F9A
tetradic
#9AAA2F #2FAA7D #3F2FAA #AA2F5C
square
#9AAA2F #2FAA7D #3F2FAA #AA2F5C
split-complementary
#9AAA2F #2F5CAA #7D2FAA
monochromatic
#434A14 #6F7A22 #9AAA2F #BCCD49 #CDDA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAA2F#FFFFFF#000000##000000
##9AAA2F1.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)
#B6A118
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#A4A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aaa2f;
/* rgb */ color: rgb(154, 170, 47);
/* oklch */ color: oklch(70.3% 0.144 116.7);
Tailwind
colors: {
  custom: {
    50: '#bbc370',
    500: '#9aaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa2f;
$custom-light: #bbc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa2f",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 67.805,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70283,
    "c": 0.14401,
    "h": 116.7
  },
  "luminance": 0.35825
}

Semantic roles & 50–950 ramp

primary
#9AAA2F
secondary
#7D72C2
accent
#48E05C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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