#9AAA2A#9AAA2A

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

Color values

HEX#9AAA2A
RGBrgb(154, 170, 42)
HSLhsl(68, 60%, 42%)
HSVhsv(68, 75%, 67%)
CMYKcmyk(9.4%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.36, -21.82, 59.59)
CIE-LCHlch(66.36, 63.46, 110.11°)
OKLaboklab(70.25% -0.0659 0.1314)
OKLCHoklch(70.25% 0.147 116.7)
XYZxyz(28.1198, 35.7870, 7.6163)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA2A #3A2AAA
analogous
#AA7A2A #9AAA2A #5AAA2A
triadic
#9AAA2A #2A9AAA #AA2A9A
tetradic
#9AAA2A #2AAA7A #3A2AAA #AA2A5A
square
#9AAA2A #2AAA7A #3A2AAA #AA2A5A
split-complementary
#9AAA2A #2A5AAA #7A2AAA
monochromatic
#414812 #6E791E #9AAA2A #BED041 #CFDC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAA2A#FFFFFF#000000##000000
##9AAA2A1.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)
#B6A10C
Deuteranopia (green-blind)
#B5A235
Tritanopia (blue-blind)
#A4A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aaa2a;
/* rgb */ color: rgb(154, 170, 42);
/* oklch */ color: oklch(70.3% 0.147 116.7);
Tailwind
colors: {
  custom: {
    50: '#bbc36e',
    500: '#9aaa2a',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa2a;
$custom-light: #bbc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa2a",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 67.5,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.14699,
    "h": 116.7
  },
  "luminance": 0.35787
}

Semantic roles & 50–950 ramp

primary
#9AAA2A
secondary
#776CC3
accent
#44E458
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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