#9AA12F#9AA12F

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

Color values

HEX#9AA12F
RGBrgb(154, 161, 47)
HSLhsl(64, 55%, 41%)
HSVhsv(64, 71%, 63%)
CMYKcmyk(4.3%, 0%, 70.8%, 36.9%)
CIE-LABlab(63.81, -17.01, 55.35)
CIE-LCHlch(63.81, 57.90, 107.08°)
OKLaboklab(68.22% -0.0521 0.1233)
OKLCHoklch(68.22% 0.134 112.9)
XYZxyz(26.5852, 32.5656, 7.5741)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA12F #362FA1
analogous
#A16F2F #9AA12F #61A12F
triadic
#9AA12F #2F9AA1 #A12F9A
tetradic
#9AA12F #2FA16F #362FA1 #A12F61
square
#9AA12F #2FA16F #362FA1 #A12F61
split-complementary
#9AA12F #2F61A1 #6F2FA1
monochromatic
#3F4213 #6D7221 #9AA12F #C0C945 #D0D674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA12F#FFFFFF#000000##000000
##9AA12F1.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)
#AD991C
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#A4978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa12f;
/* rgb */ color: rgb(154, 161, 47);
/* oklch */ color: oklch(68.2% 0.134 112.9);
Tailwind
colors: {
  custom: {
    50: '#bbbc6f',
    500: '#9aa12f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa12f;
$custom-light: #bbbc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa12f",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 63.684,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68215,
    "c": 0.13386,
    "h": 112.9
  },
  "luminance": 0.32565
}

Semantic roles & 50–950 ramp

primary
#9AA12F
secondary
#736EBE
accent
#4ADE53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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