#9AA126#9AA126

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

Color values

HEX#9AA126
RGBrgb(154, 161, 38)
HSLhsl(63, 62%, 39%)
HSVhsv(63, 76%, 63%)
CMYKcmyk(4.3%, 0%, 76.4%, 36.9%)
CIE-LABlab(63.75, -17.45, 58.49)
CIE-LCHlch(63.75, 61.04, 106.61°)
OKLaboklab(68.16% -0.0542 0.1283)
OKLCHoklch(68.16% 0.139 112.9)
XYZxyz(26.4220, 32.5003, 6.7147)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA126 #2D26A1
analogous
#A16B26 #9AA126 #5DA126
triadic
#9AA126 #269AA1 #A1269A
tetradic
#9AA126 #26A16B #2D26A1 #A1265D
square
#9AA126 #26A16B #2D26A1 #A1265D
split-complementary
#9AA126 #265DA1 #6B26A1
monochromatic
#3B3E0F #6B6F1A #9AA126 #C7CF35 #D4DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA126#FFFFFF#000000##000000
##9AA1261.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)
#AD9907
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#A5978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa126;
/* rgb */ color: rgb(154, 161, 38);
/* oklch */ color: oklch(68.2% 0.139 112.9);
Tailwind
colors: {
  custom: {
    50: '#bbbc6b',
    500: '#9aa126',
    950: '#000000',
  },
}
SCSS
$custom: #9aa126;
$custom-light: #bbbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa126",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 63.415,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68156,
    "c": 0.13929,
    "h": 112.9
  },
  "luminance": 0.325
}

Semantic roles & 50–950 ramp

primary
#9AA126
secondary
#6762C1
accent
#43E54C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA126

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

Preview Lab → · Contrast checker → · Palette generator →

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