#9AA128#9AA128

#9AA128 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.138 H 112.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9AA128
RGBrgb(154, 161, 40)
HSLhsl(63, 60%, 39%)
HSVhsv(63, 75%, 63%)
CMYKcmyk(4.3%, 0%, 75.2%, 36.9%)
CIE-LABlab(63.77, -17.36, 57.83)
CIE-LCHlch(63.77, 60.38, 106.71°)
OKLaboklab(68.17% -0.0537 0.1273)
OKLCHoklch(68.17% 0.138 112.9)
XYZxyz(26.4551, 32.5136, 6.8892)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA128 #2F28A1
analogous
#A16C28 #9AA128 #5EA128
triadic
#9AA128 #289AA1 #A1289A
tetradic
#9AA128 #28A16C #2F28A1 #A1285E
square
#9AA128 #28A16C #2F28A1 #A1285E
split-complementary
#9AA128 #285EA1 #6C28A1
monochromatic
#3C3F10 #6B701C #9AA128 #C5CE39 #D3DA6A

Accessibility & contrast

On white

2.80
#9AA128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#9AA128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA128
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA128#FFFFFF#000000##000000
##9AA1281.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990D
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#A5978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa128;
/* rgb */ color: rgb(154, 161, 40);
/* oklch */ color: oklch(68.2% 0.138 112.9);
Tailwind
colors: {
  custom: {
    50: '#bbbc6c',
    500: '#9aa128',
    950: '#000000',
  },
}
SCSS
$custom: #9aa128;
$custom-light: #bbbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa128",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 63.471,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68168,
    "c": 0.13818,
    "h": 112.9
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

primary
#9AA128
secondary
#6A65C0
accent
#44E34E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA128

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

Preview Lab → · Contrast checker → · Palette generator →

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