#9AA12A#9AA12A

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

Color values

HEX#9AA12A
RGBrgb(154, 161, 42)
HSLhsl(64, 59%, 40%)
HSVhsv(64, 74%, 63%)
CMYKcmyk(4.3%, 0%, 73.9%, 36.9%)
CIE-LABlab(63.78, -17.26, 57.15)
CIE-LCHlch(63.78, 59.70, 106.81°)
OKLaboklab(68.18% -0.0533 0.1262)
OKLCHoklch(68.18% 0.137 112.9)
XYZxyz(26.4900, 32.5275, 7.0730)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA12A #312AA1
analogous
#A16C2A #9AA12A #5FA12A
triadic
#9AA12A #2A9AA1 #A12A9A
tetradic
#9AA12A #2AA16C #312AA1 #A12A5F
square
#9AA12A #2AA16C #312AA1 #A12A5F
split-complementary
#9AA12A #2A5FA1 #6C2AA1
monochromatic
#3D4011 #6C701D #9AA12A #C4CC3C #D2D96D

Accessibility & contrast

On white

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

On black

7.51
#9AA12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA12A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA12A#FFFFFF#000000##000000
##9AA12A1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9912
Deuteranopia (green-blind)
#AD9C34
Tritanopia (blue-blind)
#A5978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa12a;
/* rgb */ color: rgb(154, 161, 42);
/* oklch */ color: oklch(68.2% 0.137 112.9);
Tailwind
colors: {
  custom: {
    50: '#bbbc6d',
    500: '#9aa12a',
    950: '#000000',
  },
}
SCSS
$custom: #9aa12a;
$custom-light: #bbbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa12a",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 63.529,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68181,
    "c": 0.137,
    "h": 112.9
  },
  "luminance": 0.32527
}

Semantic roles & 50–950 ramp

primary
#9AA12A
secondary
#6C67C0
accent
#46E24F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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