#9AA226#9AA226

#9AA226 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.140 H 113.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9AA226
RGBrgb(154, 162, 38)
HSLhsl(64, 62%, 39%)
HSVhsv(64, 77%, 64%)
CMYKcmyk(4.9%, 0%, 76.5%, 36.5%)
CIE-LABlab(64.04, -17.96, 58.75)
CIE-LCHlch(64.04, 61.44, 107.00°)
OKLaboklab(68.38% -0.0556 0.1289)
OKLCHoklch(68.38% 0.14 113.3)
XYZxyz(26.5974, 32.8512, 6.7732)
Luminance0.3285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA226 #2E26A2
analogous
#A26C26 #9AA226 #5CA226
triadic
#9AA226 #269AA2 #A2269A
tetradic
#9AA226 #26A26C #2E26A2 #A2265C
square
#9AA226 #26A26C #2E26A2 #A2265C
split-complementary
#9AA226 #265CA2 #6C26A2
monochromatic
#3C3F0F #6B701A #9AA226 #C6D035 #D4DB67

Accessibility & contrast

On white

2.77
#9AA226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#9AA226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA226
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA226#FFFFFF#000000##000000
##9AA2261.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A06
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#A5988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa226;
/* rgb */ color: rgb(154, 162, 38);
/* oklch */ color: oklch(68.4% 0.140 113.3);
Tailwind
colors: {
  custom: {
    50: '#bbbd6b',
    500: '#9aa226',
    950: '#000000',
  },
}
SCSS
$custom: #9aa226;
$custom-light: #bbbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa226",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 63.871,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68385,
    "c": 0.14037,
    "h": 113.3
  },
  "luminance": 0.32851
}

Semantic roles & 50–950 ramp

primary
#9AA226
secondary
#6963C1
accent
#43E54D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA226

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

Preview Lab → · Contrast checker → · Palette generator →

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