#9AAA2B#9AAA2B

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

Color values

HEX#9AAA2B
RGBrgb(154, 170, 43)
HSLhsl(68, 60%, 42%)
HSVhsv(68, 75%, 67%)
CMYKcmyk(9.4%, 0%, 74.7%, 33.3%)
CIE-LABlab(66.36, -21.77, 59.26)
CIE-LCHlch(66.36, 63.13, 110.18°)
OKLaboklab(70.26% -0.0657 0.1308)
OKLCHoklch(70.26% 0.146 116.7)
XYZxyz(28.1379, 35.7943, 7.7117)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA2B #3B2BAA
analogous
#AA7B2B #9AAA2B #5BAA2B
triadic
#9AAA2B #2B9AAA #AA2B9A
tetradic
#9AAA2B #2BAA7B #3B2BAA #AA2B5B
square
#9AAA2B #2BAA7B #3B2BAA #AA2B5B
split-complementary
#9AAA2B #2B5BAA #7B2BAA
monochromatic
#424812 #6E791F #9AAA2B #BECF43 #CFDC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAA2B#FFFFFF#000000##000000
##9AAA2B1.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)
#B6A10F
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#A4A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aaa2b;
/* rgb */ color: rgb(154, 170, 43);
/* oklch */ color: oklch(70.3% 0.146 116.7);
Tailwind
colors: {
  custom: {
    50: '#bbc36e',
    500: '#9aaa2b',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa2b;
$custom-light: #bbc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa2b",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 67.559,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70257,
    "c": 0.14642,
    "h": 116.7
  },
  "luminance": 0.35794
}

Semantic roles & 50–950 ramp

primary
#9AAA2B
secondary
#786EC3
accent
#45E359
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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