#9AA225#9AA225

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

Color values

HEX#9AA225
RGBrgb(154, 162, 37)
HSLhsl(64, 63%, 39%)
HSVhsv(64, 77%, 64%)
CMYKcmyk(4.9%, 0%, 77.2%, 36.5%)
CIE-LABlab(64.03, -18.00, 59.07)
CIE-LCHlch(64.03, 61.76, 106.95°)
OKLaboklab(68.38% -0.0558 0.1294)
OKLCHoklch(68.38% 0.141 113.3)
XYZxyz(26.5815, 32.8448, 6.6893)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA225 #2D25A2
analogous
#A26C25 #9AA225 #5CA225
triadic
#9AA225 #259AA2 #A2259A
tetradic
#9AA225 #25A26C #2D25A2 #A2255C
square
#9AA225 #25A26C #2D25A2 #A2255C
split-complementary
#9AA225 #255CA2 #6C25A2
monochromatic
#3B3E0E #6B701A #9AA225 #C7D134 #D4DC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA225#FFFFFF#000000##000000
##9AA2251.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)
#AE9A03
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#A5988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa225;
/* rgb */ color: rgb(154, 162, 37);
/* oklch */ color: oklch(68.4% 0.141 113.3);
Tailwind
colors: {
  custom: {
    50: '#bbbd6a',
    500: '#9aa225',
    950: '#000000',
  },
}
SCSS
$custom: #9aa225;
$custom-light: #bbbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa225",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 63.84,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68379,
    "c": 0.14091,
    "h": 113.3
  },
  "luminance": 0.32844
}

Semantic roles & 50–950 ramp

primary
#9AA225
secondary
#6761C2
accent
#42E64C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA225

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

Preview Lab → · Contrast checker → · Palette generator →

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