#9AAC28#9AAC28

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

Color values

HEX#9AAC28
RGBrgb(154, 172, 40)
HSLhsl(68, 62%, 42%)
HSVhsv(68, 77%, 67%)
CMYKcmyk(10.5%, 0%, 76.7%, 32.5%)
CIE-LABlab(66.92, -22.91, 60.77)
CIE-LCHlch(66.92, 64.95, 110.65°)
OKLaboklab(70.7% -0.0691 0.1335)
OKLCHoklch(70.7% 0.15 117.4)
XYZxyz(28.4627, 36.5286, 7.5584)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAC28 #3A28AC
analogous
#AC7C28 #9AAC28 #58AC28
triadic
#9AAC28 #289AAC #AC289A
tetradic
#9AAC28 #28AC7C #3A28AC #AC2858
square
#9AAC28 #28AC7C #3A28AC #AC2858
split-complementary
#9AAC28 #2858AC #7C28AC
monochromatic
#414911 #6E7A1C #9AAC28 #BED23F #CFDE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAC28#FFFFFF#000000##000000
##9AAC281.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)
#B8A204
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#A4A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9aac28;
/* rgb */ color: rgb(154, 172, 40);
/* oklch */ color: oklch(70.7% 0.150 117.4);
Tailwind
colors: {
  custom: {
    50: '#bbc46d',
    500: '#9aac28',
    950: '#000000',
  },
}
SCSS
$custom: #9aac28;
$custom-light: #bbc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aac28",
  "rgb": {
    "r": 154,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 68.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70701,
    "c": 0.15035,
    "h": 117.4
  },
  "luminance": 0.36528
}

Semantic roles & 50–950 ramp

primary
#9AAC28
secondary
#776BC5
accent
#42E559
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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