#9AAC2A#9AAC2A

#9AAC2A 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#9AAC2A
RGBrgb(154, 172, 42)
HSLhsl(68, 61%, 42%)
HSVhsv(68, 76%, 67%)
CMYKcmyk(10.5%, 0%, 75.6%, 32.5%)
CIE-LABlab(66.93, -22.82, 60.13)
CIE-LCHlch(66.93, 64.31, 110.78°)
OKLaboklab(70.71% -0.0687 0.1325)
OKLCHoklch(70.71% 0.149 117.4)
XYZxyz(28.4976, 36.5426, 7.7422)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAC2A #3C2AAC
analogous
#AC7D2A #9AAC2A #59AC2A
triadic
#9AAC2A #2A9AAC #AC2A9A
tetradic
#9AAC2A #2AAC7D #3C2AAC #AC2A59
square
#9AAC2A #2AAC7D #3C2AAC #AC2A59
split-complementary
#9AAC2A #2A59AC #7D2AAC
monochromatic
#424A12 #6E7B1E #9AAC2A #BDD142 #CEDD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAC2A#FFFFFF#000000##000000
##9AAC2A1.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)
#B8A20B
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#A4A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9aac2a;
/* rgb */ color: rgb(154, 172, 42);
/* oklch */ color: oklch(70.7% 0.149 117.4);
Tailwind
colors: {
  custom: {
    50: '#bbc46e',
    500: '#9aac2a',
    950: '#000000',
  },
}
SCSS
$custom: #9aac2a;
$custom-light: #bbc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aac2a",
  "rgb": {
    "r": 154,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 68.308,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70713,
    "c": 0.14926,
    "h": 117.4
  },
  "luminance": 0.36542
}

Semantic roles & 50–950 ramp

primary
#9AAC2A
secondary
#7A6DC4
accent
#44E45A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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