#9AA728#9AA728

#9AA728 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.145 H 115.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9AA728
RGBrgb(154, 167, 40)
HSLhsl(66, 61%, 41%)
HSVhsv(66, 76%, 65%)
CMYKcmyk(7.8%, 0%, 76%, 34.5%)
CIE-LABlab(65.48, -20.41, 59.44)
CIE-LCHlch(65.48, 62.84, 108.95°)
OKLaboklab(69.55% -0.0622 0.1307)
OKLCHoklch(69.55% 0.145 115.4)
XYZxyz(27.5289, 34.6611, 7.2471)
Luminance0.3466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA728 #3528A7
analogous
#A77428 #9AA728 #5AA728
triadic
#9AA728 #289AA7 #A7289A
tetradic
#9AA728 #28A774 #3528A7 #A7285A
square
#9AA728 #28A774 #3528A7 #A7285A
split-complementary
#9AA728 #285AA7 #7428A7
monochromatic
#3F4410 #6C761C #9AA728 #C1D03C #D1DC6D

Accessibility & contrast

On white

2.65
#9AA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#9AA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA728
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA728#FFFFFF#000000##000000
##9AA7281.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E08
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#A49D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9aa728;
/* rgb */ color: rgb(154, 167, 40);
/* oklch */ color: oklch(69.5% 0.145 115.4);
Tailwind
colors: {
  custom: {
    50: '#bbc16c',
    500: '#9aa728',
    950: '#000000',
  },
}
SCSS
$custom: #9aa728;
$custom-light: #bbc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa728",
  "rgb": {
    "r": 154,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 66.142,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69546,
    "c": 0.14475,
    "h": 115.4
  },
  "luminance": 0.34661
}

Semantic roles & 50–950 ramp

primary
#9AA728
secondary
#7168C3
accent
#43E454
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA728

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

Preview Lab → · Contrast checker → · Palette generator →

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