#9AAC20#9AAC20

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

Color values

HEX#9AAC20
RGBrgb(154, 172, 32)
HSLhsl(68, 69%, 40%)
HSVhsv(68, 81%, 67%)
CMYKcmyk(10.5%, 0%, 81.4%, 32.5%)
CIE-LABlab(66.88, -23.23, 63.11)
CIE-LCHlch(66.88, 67.25, 110.20°)
OKLaboklab(70.66% -0.0706 0.1371)
OKLCHoklch(70.66% 0.154 117.2)
XYZxyz(28.3404, 36.4797, 6.9145)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAC20 #3220AC
analogous
#AC7820 #9AAC20 #54AC20
triadic
#9AAC20 #209AAC #AC209A
tetradic
#9AAC20 #20AC78 #3220AC #AC2054
square
#9AAC20 #20AC78 #3220AC #AC2054
split-complementary
#9AAC20 #2054AC #7820AC
monochromatic
#3E450D #6C7816 #9AAC20 #C3D931 #D2E264

Accessibility & contrast

On white

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

On black

8.30
#9AAC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAC20
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAC20#FFFFFF#000000##000000
##9AAC201.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#A4A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9aac20;
/* rgb */ color: rgb(154, 172, 32);
/* oklch */ color: oklch(70.7% 0.154 117.2);
Tailwind
colors: {
  custom: {
    50: '#bcc46a',
    500: '#9aac20',
    950: '#000000',
  },
}
SCSS
$custom: #9aac20;
$custom-light: #bcc46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aac20",
  "rgb": {
    "r": 154,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 67.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.7066,
    "c": 0.15421,
    "h": 117.2
  },
  "luminance": 0.36479
}

Semantic roles & 50–950 ramp

primary
#9AAC20
secondary
#6E60C7
accent
#3CEB53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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