#9AA12C#9AA12C

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

Color values

HEX#9AA12C
RGBrgb(154, 161, 44)
HSLhsl(64, 57%, 40%)
HSVhsv(64, 73%, 63%)
CMYKcmyk(4.3%, 0%, 72.7%, 36.9%)
CIE-LABlab(63.79, -17.16, 56.44)
CIE-LCHlch(63.79, 58.99, 106.91°)
OKLaboklab(68.19% -0.0528 0.1251)
OKLCHoklch(68.19% 0.136 112.9)
XYZxyz(26.5267, 32.5422, 7.2663)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA12C #332CA1
analogous
#A16E2C #9AA12C #5FA12C
triadic
#9AA12C #2C9AA1 #A12C9A
tetradic
#9AA12C #2CA16E #332CA1 #A12C5F
square
#9AA12C #2CA16E #332CA1 #A12C5F
split-complementary
#9AA12C #2C5FA1 #6E2CA1
monochromatic
#3E4112 #6C711F #9AA12C #C2CB40 #D2D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA12C#FFFFFF#000000##000000
##9AA12C1.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)
#AD9916
Deuteranopia (green-blind)
#AD9C35
Tritanopia (blue-blind)
#A5978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa12c;
/* rgb */ color: rgb(154, 161, 44);
/* oklch */ color: oklch(68.2% 0.136 112.9);
Tailwind
colors: {
  custom: {
    50: '#bbbc6e',
    500: '#9aa12c',
    950: '#000000',
  },
}
SCSS
$custom: #9aa12c;
$custom-light: #bbbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa12c",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 63.59,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68194,
    "c": 0.13578,
    "h": 112.9
  },
  "luminance": 0.32542
}

Semantic roles & 50–950 ramp

primary
#9AA12C
secondary
#6F6ABF
accent
#47E051
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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