#9AA628#9AA628

#9AA628 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.3% C 0.144 H 115.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9AA628
RGBrgb(154, 166, 40)
HSLhsl(66, 61%, 40%)
HSVhsv(66, 76%, 65%)
CMYKcmyk(7.2%, 0%, 75.9%, 34.9%)
CIE-LABlab(65.20, -19.90, 59.17)
CIE-LCHlch(65.20, 62.43, 108.59°)
OKLaboklab(69.32% -0.0608 0.1301)
OKLCHoklch(69.32% 0.144 115)
XYZxyz(27.3464, 34.2961, 7.1863)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA628 #3428A6
analogous
#A67328 #9AA628 #5BA628
triadic
#9AA628 #289AA6 #A6289A
tetradic
#9AA628 #28A673 #3428A6 #A6285B
square
#9AA628 #28A673 #3428A6 #A6285B
split-complementary
#9AA628 #285BA6 #7328A6
monochromatic
#3E4310 #6C751C #9AA628 #C2D03B #D1DC6D

Accessibility & contrast

On white

2.67
#9AA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9AA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA628
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA628#FFFFFF#000000##000000
##9AA6281.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D09
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#A49C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa628;
/* rgb */ color: rgb(154, 166, 40);
/* oklch */ color: oklch(69.3% 0.144 115.0);
Tailwind
colors: {
  custom: {
    50: '#bbc06c',
    500: '#9aa628',
    950: '#000000',
  },
}
SCSS
$custom: #9aa628;
$custom-light: #bbc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa628",
  "rgb": {
    "r": 154,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 65.714,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69316,
    "c": 0.14363,
    "h": 115
  },
  "luminance": 0.34296
}

Semantic roles & 50–950 ramp

primary
#9AA628
secondary
#7067C2
accent
#44E453
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA628

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

Preview Lab → · Contrast checker → · Palette generator →

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