#9AA117#9AA117

#9AA117 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.146 H 112.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9AA117
RGBrgb(154, 161, 23)
HSLhsl(63, 75%, 36%)
HSVhsv(63, 86%, 63%)
CMYKcmyk(4.3%, 0%, 85.7%, 36.9%)
CIE-LABlab(63.69, -17.98, 62.64)
CIE-LCHlch(63.69, 65.17, 106.01°)
OKLaboklab(68.08% -0.0567 0.1346)
OKLCHoklch(68.08% 0.146 112.9)
XYZxyz(26.2269, 32.4223, 5.6870)
Luminance0.3242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA117 #1E17A1
analogous
#A16317 #9AA117 #55A117
triadic
#9AA117 #179AA1 #A1179A
tetradic
#9AA117 #17A163 #1E17A1 #A11755
square
#9AA117 #17A163 #1E17A1 #A11755
split-complementary
#9AA117 #1755A1 #6317A1
monochromatic
#343608 #676B0F #9AA117 #CDD71F #DEE64D

Accessibility & contrast

On white

2.81
#9AA117 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#9AA117 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA117
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA117#FFFFFF#000000##000000
##9AA1171.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C26
Tritanopia (blue-blind)
#A59789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa117;
/* rgb */ color: rgb(154, 161, 23);
/* oklch */ color: oklch(68.1% 0.146 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbc65',
    500: '#9aa117',
    950: '#000000',
  },
}
SCSS
$custom: #9aa117;
$custom-light: #bcbc65;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa117",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 63.043,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.68084,
    "c": 0.14602,
    "h": 112.9
  },
  "luminance": 0.32422
}

Semantic roles & 50–950 ramp

primary
#9AA117
secondary
#534CC7
accent
#36F240
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #9AA117

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

Preview Lab → · Contrast checker → · Palette generator →

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